llvm-project/compiler-rt/lib/dfsan
Anna Zaks 691644f3ca [compiler-rt] Do not introduce __sanitizer namespace globally
The definitions in sanitizer_common may conflict with definitions from system headers because:

The runtime includes the system headers after the project headers (as per LLVM coding guidelines).
lib/sanitizer_common/sanitizer_internal_defs.h pollutes the namespace of everything defined after it, which is all/most of the sanitizer .h and .cc files and the included system headers with: using namespace __sanitizer; // NOLINT
This patch solves the problem by introducing the namespace only within the sanitizer namespaces as proposed by Dmitry.

Differential Revision: https://reviews.llvm.org/D21947

llvm-svn: 281657
2016-09-15 21:02:18 +00:00
..
scripts Add api_list entries for the dfsan-based fuzzer 2015-05-06 22:41:34 +00:00
.clang-format Tell clang-format that (most) sanitizers are written using Google style guide. 2015-11-19 22:11:10 +00:00
CMakeLists.txt [CMake] Connect Compiler-RT targets to LLVM Runtimes directory 2016-08-26 20:52:22 +00:00
dfsan.cc dfsan: Enable 48-bit VMA support on aarch64 2016-08-25 17:07:43 +00:00
dfsan.h [compiler-rt] Do not introduce __sanitizer namespace globally 2016-09-15 21:02:18 +00:00
dfsan.syms.extra [dfsan] Add a syms file. 2013-08-29 22:49:00 +00:00
dfsan_custom.cc [compiler-rt] Apply modernize-use-nullptr fixes in sanitizers 2015-10-01 00:22:21 +00:00
dfsan_flags.inc [Sanitizer] Change the runtime flag representation. 2015-01-07 00:38:00 +00:00
dfsan_interceptors.cc [compiler-rt] Do not introduce __sanitizer namespace globally 2016-09-15 21:02:18 +00:00
dfsan_platform.h dfsan: Enable 48-bit VMA support on aarch64 2016-08-25 17:07:43 +00:00
done_abilist.txt [sanitizer-coverage] add __sanitizer_cov_trace_cmp[1248] to the sanitizer-coverage interface 2016-08-18 01:23:27 +00:00
libc_ubuntu1404_abilist.txt [dfsan] Upgrade ABI list to Ubuntu 14.04. 2014-11-05 17:21:06 +00:00