summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAlex Shlyapnikov <alekseys@google.com>2017-03-23 15:57:58 +0000
committerAlex Shlyapnikov <alekseys@google.com>2017-03-23 15:57:58 +0000
commit86abf9aeb3138dcee9d2c110a911dbe8108fdd62 (patch)
treec1c3ed9fd91e5e2e6a07ed3b9e0f56a81c7040b9 /clang/lib/Frontend/CompilerInvocation.cpp
parent9a4e45a0ed1473caad64f4b7b8299e011d1458a8 (diff)
downloadbcm5719-llvm-86abf9aeb3138dcee9d2c110a911dbe8108fdd62.tar.gz
bcm5719-llvm-86abf9aeb3138dcee9d2c110a911dbe8108fdd62.zip
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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud