llvm-project/compiler-rt/test/sanitizer_common
Alex Shlyapnikov 86abf9aeb3 Bypass potential libc's sysconf interceptors
Summary:
sysconf(_SC_PAGESIZE) is called very early during sanitizer init and
any instrumented code (sysconf() wrapper/interceptor will likely be
instrumented) calling back to sanitizer before init is done will
most surely crash.

2nd attempt, now with glibc version checks (D31092 was reverted).

Reviewers: eugenis

Subscribers: kubamracek, llvm-commits

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

llvm-svn: 298613
2017-03-23 15:57:58 +00:00
..
TestCases Bypass potential libc's sysconf interceptors 2017-03-23 15:57:58 +00:00
Unit Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 07:03:45 +00:00
CMakeLists.txt [sanitizer] Add macOS minimum deployment target to all compiler invocations in lit tests 2016-11-29 19:25:53 +00:00
lit.common.cfg [lsan] Renable LSan for x86 Linux 2017-01-31 07:15:37 +00:00
lit.site.cfg.in Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 07:03:45 +00:00
print_address.h [lsan] Renable LSan for x86 Linux 2017-01-31 07:15:37 +00:00