summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/tests/sanitizer_nolibc_test_main.cc
AgeCommit message (Collapse)Author
2016-09-15[compiler-rt] Do not introduce __sanitizer namespace globallyAnna Zaks
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 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@281657 91177308-0d34-0410-b5e6-96231b3b80d8
2013-05-29[nolibc] Now that we have a custom allocator, remove dummy allocatorPeter Collingbourne
definitions from test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182841 91177308-0d34-0410-b5e6-96231b3b80d8
2013-05-28[nolibc] Add a test case for Linux/x86_64.Peter Collingbourne
Differential Revision: http://llvm-reviews.chandlerc.com/D873 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182770 91177308-0d34-0410-b5e6-96231b3b80d8