[compiler-rt] r345765 - [compiler-rt][Fuzzer] Use the new C++ ABI namespace CMake support

Evgenii Stepanov via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 1 11:20:33 PDT 2018


Hi, this broke the sanitizer bot:
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux/builds/17023/steps/test%20standalone%20compiler-rt/logs/stdio

I'm not sure where this std::__Fuzzer:: comes from...

On Wed, Oct 31, 2018 at 12:17 PM Petr Hosek via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> Author: phosek
> Date: Wed Oct 31 12:15:48 2018
> New Revision: 345765
>
> URL: http://llvm.org/viewvc/llvm-project?rev=345765&view=rev
> Log:
> [compiler-rt][Fuzzer] Use the new C++ ABI namespace CMake support
>
> libc++ now supports customizing the ABI namespace directly from the
> CMake build so we no longer need to rely on custom CFLAGS.
>
> Differential Revision: https://reviews.llvm.org/D53939
>
> Modified:
>     compiler-rt/trunk/lib/fuzzer/CMakeLists.txt
>
> Modified: compiler-rt/trunk/lib/fuzzer/CMakeLists.txt
> URL:
> http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/fuzzer/CMakeLists.txt?rev=345765&r1=345764&r2=345765&view=diff
>
> ==============================================================================
> --- compiler-rt/trunk/lib/fuzzer/CMakeLists.txt (original)
> +++ compiler-rt/trunk/lib/fuzzer/CMakeLists.txt Wed Oct 31 12:15:48 2018
> @@ -124,12 +124,12 @@ if(OS_NAME MATCHES "Linux|Fuchsia" AND C
>      set(LIBCXX_${arch}_PREFIX
> ${CMAKE_CURRENT_BINARY_DIR}/libcxx_fuzzer_${arch})
>      add_custom_libcxx(libcxx_fuzzer_${arch} ${LIBCXX_${arch}_PREFIX}
>        CFLAGS ${TARGET_CFLAGS}
> -             -D_LIBCPP_ABI_VERSION=Fuzzer
>               -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS=1
>               -fvisibility=hidden
>        CMAKE_ARGS -DCMAKE_CXX_COMPILER_WORKS=ON
>                   -DLIBCXX_ENABLE_EXCEPTIONS=OFF
>                   -DLIBCXX_ENABLE_SHARED=OFF
> +                 -DLIBCXX_ABI_NAMESPACE=Fuzzer
>                   -DLIBCXX_CXX_ABI=none)
>      target_compile_options(RTfuzzer.${arch} PRIVATE -isystem
> ${LIBCXX_${arch}_PREFIX}/include/c++/v1)
>      add_dependencies(RTfuzzer.${arch} libcxx_fuzzer_${arch}-build)
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181101/2aa110de/attachment.html>


More information about the llvm-commits mailing list