projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75a026e
)
[libc++] Try fixing the oss-fuzz build
author
Louis Dionne
<ldionne@apple.com>
Fri, 6 Nov 2020 15:06:44 +0000
(10:06 -0500)
committer
Louis Dionne
<ldionne@apple.com>
Fri, 6 Nov 2020 15:06:44 +0000
(10:06 -0500)
See https://github.com/google/oss-fuzz/issues/4586.
libcxx/utils/ci/oss-fuzz.sh
patch
|
blob
|
history
diff --git
a/libcxx/utils/ci/oss-fuzz.sh
b/libcxx/utils/ci/oss-fuzz.sh
index
8a9421a
..
d8a1e5e
100755
(executable)
--- a/
libcxx/utils/ci/oss-fuzz.sh
+++ b/
libcxx/utils/ci/oss-fuzz.sh
@@
-9,11
+9,13
@@
if [[ ${SANITIZER} = *undefined* ]]; then
fi
for test in libcxx/test/libcxx/fuzzing/*.pass.cpp; do
+ exe="$(basename ${test})"
+ exe="${exe%.pass.cpp}"
${CXX} ${CXXFLAGS} \
-std=c++14 \
-DLIBCPP_OSS_FUZZ \
-nostdinc++ -cxx-isystem libcxx/include \
- -o "${OUT}/$
(basename ${test})
" \
+ -o "${OUT}/$
{exe}
" \
${test} \
${LIB_FUZZING_ENGINE}
done