aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Path.cpp
diff options
context:
space:
mode:
authorAlex Shlyapnikov <alekseys@google.com>2017-03-20 21:03:28 +0000
committerAlex Shlyapnikov <alekseys@google.com>2017-03-20 21:03:28 +0000
commita7291b373063c992127d93358a76ab7b6d0a1e2e (patch)
tree3cad86d834b1d6e9ecd99be941ca89c4405a74ed /llvm/lib/Support/Path.cpp
parent5378e423e5ba7ced57ab44f42bee36fde940f50e (diff)
downloadllvm-a7291b373063c992127d93358a76ab7b6d0a1e2e.zip
llvm-a7291b373063c992127d93358a76ab7b6d0a1e2e.tar.gz
llvm-a7291b373063c992127d93358a76ab7b6d0a1e2e.tar.bz2
Bypass potential libc's sysconf wrappers for sysconf(_SC_PAGESIZE) call
Summary: sysconf(_SC_PAGESIZE) is called very early, during sanitizer init and any instrumented code (a wrapper/interceptor will likely be instrumented) calling back to sanitizer before init is done will most surely crash. Reviewers: eugenis Subscribers: llvm-commits, kubamracek Differential Revision: https://reviews.llvm.org/D31092 llvm-svn: 298305
Diffstat (limited to 'llvm/lib/Support/Path.cpp')
0 files changed, 0 insertions, 0 deletions