diff options
| author | Louis Dionne <ldionne@apple.com> | 2019-10-24 14:16:37 -0700 |
|---|---|---|
| committer | Louis Dionne <ldionne@apple.com> | 2019-10-29 10:55:43 -0700 |
| commit | 3c9063f5d2df3affba655711c2031020e6819510 (patch) | |
| tree | ed88994dcef3fe41f897b00d025f958afc888603 /compiler-rt/lib/fuzzer | |
| parent | efed314118c7c287a71b8a8d67953a98d8a718d5 (diff) | |
| download | bcm5719-llvm-3c9063f5d2df3affba655711c2031020e6819510.tar.gz bcm5719-llvm-3c9063f5d2df3affba655711c2031020e6819510.zip | |
[libc++] Force the ABI namespace to be a reserved identifier
Summary:
When the ABI namespace isn't a reserved identifier, we were issuing a
warning, but this should have been an error since the beginning. This
commit enforces that the ABI namespace is a reserved identifier, and
changes the ABI namespace used by LibFuzzer.
Reviewers: phosek, EricWF
Subscribers: mgorny, christof, jkorous, dexonsmith, #sanitizers, libcxx-commits, llvm-commits
Tags: #sanitizers, #libc, #llvm
Differential Revision: https://reviews.llvm.org/D69408
Diffstat (limited to 'compiler-rt/lib/fuzzer')
| -rw-r--r-- | compiler-rt/lib/fuzzer/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/fuzzer/CMakeLists.txt b/compiler-rt/lib/fuzzer/CMakeLists.txt index 3743db9908c..57b418216d7 100644 --- a/compiler-rt/lib/fuzzer/CMakeLists.txt +++ b/compiler-rt/lib/fuzzer/CMakeLists.txt @@ -144,7 +144,7 @@ if(OS_NAME MATCHES "Linux|Fuchsia" AND CFLAGS ${TARGET_CFLAGS} CMAKE_ARGS -DCMAKE_CXX_COMPILER_WORKS=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON - -DLIBCXX_ABI_NAMESPACE=Fuzzer) + -DLIBCXX_ABI_NAMESPACE=__Fuzzer) target_compile_options(RTfuzzer.${arch} PRIVATE -isystem ${LIBCXX_${arch}_PREFIX}/include/c++/v1) add_dependencies(RTfuzzer.${arch} libcxx_fuzzer_${arch}-build) target_compile_options(RTfuzzer_main.${arch} PRIVATE -isystem ${LIBCXX_${arch}_PREFIX}/include/c++/v1) |

