llvm-project/compiler-rt/lib/esan
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
..
CMakeLists.txt [CMake] Connect Compiler-RT targets to LLVM Runtimes directory 2016-08-26 20:52:22 +00:00
cache_frag.cpp [esan] Add __esan_report for mid-run data 2016-07-09 04:13:25 +00:00
cache_frag.h [esan] Add __esan_report for mid-run data 2016-07-09 04:13:25 +00:00
esan.cpp Revert "[ESan][MIPS] Adds support for MIPS64" 2016-09-08 16:09:46 +00:00
esan.h Revert "[ESan][MIPS] Adds support for MIPS64" 2016-09-08 16:09:46 +00:00
esan.syms.extra [esan] Add compilation unit init/exit routines. 2016-05-24 22:22:20 +00:00
esan_circular_buffer.h [esan|wset] Add 8-level working set snapshot accumulation 2016-06-03 16:27:50 +00:00
esan_flags.cpp [compiler-rt] Do not introduce __sanitizer namespace globally 2016-09-15 21:02:18 +00:00
esan_flags.h [esan] Add custom flag support 2016-05-20 19:26:52 +00:00
esan_flags.inc [esan|cfrag] Compute the struct field access difference ratio 2016-06-03 20:48:17 +00:00
esan_hashtable.h [esan] Add iterator to esan's generic hashtable 2016-08-08 17:37:19 +00:00
esan_interceptors.cpp [esan|wset] Ensure SIGSEGV is not blocked 2016-07-06 21:04:48 +00:00
esan_interface.cpp [esan|wset] Fix flaky sampling tests 2016-07-19 05:06:48 +00:00
esan_interface_internal.h [compiler-rt] Do not introduce __sanitizer namespace globally 2016-09-15 21:02:18 +00:00
esan_linux.cpp Revert "[ESan][MIPS] Adds support for MIPS64" 2016-09-08 16:09:46 +00:00
esan_shadow.h Revert "[ESan][MIPS] Adds support for MIPS64" 2016-09-08 16:09:46 +00:00
esan_sideline.h [esan] Add sideline itimer support 2016-06-03 16:14:07 +00:00
esan_sideline_linux.cpp [esan] Fix sideline thread flaky assert 2016-07-19 05:03:38 +00:00
working_set.cpp [esan|wset] Fix flaky sampling tests 2016-07-19 05:06:48 +00:00
working_set.h [esan|wset] Fix flaky sampling tests 2016-07-19 05:06:48 +00:00
working_set_posix.cpp [esan|wset] Ensure SIGSEGV is not blocked 2016-07-06 21:04:48 +00:00