From: Louis Dionne Date: Fri, 6 Nov 2020 15:06:44 +0000 (-0500) Subject: [libc++] Try fixing the oss-fuzz build X-Git-Tag: llvmorg-13-init~6864 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1d53b55e18670df06802c4b5df187ef014e8fe7c;p=platform%2Fupstream%2Fllvm.git [libc++] Try fixing the oss-fuzz build See https://github.com/google/oss-fuzz/issues/4586. --- diff --git a/libcxx/utils/ci/oss-fuzz.sh b/libcxx/utils/ci/oss-fuzz.sh index 8a9421a..d8a1e5e 100755 --- 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