aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorKuba Brecka <kuba.brecka@gmail.com>2015-08-03 14:48:59 +0000
committerKuba Brecka <kuba.brecka@gmail.com>2015-08-03 14:48:59 +0000
commitfe17cee960edc2f7446097f61a7e4e677444aeb1 (patch)
treee3723c7440aa8afab561896e1b0fb180adce60e1 /llvm/lib/CodeGen/LiveDebugVariables.cpp
parentf607111d95ed4ce3befadb0013be6808f79470be (diff)
downloadllvm-fe17cee960edc2f7446097f61a7e4e677444aeb1.zip
llvm-fe17cee960edc2f7446097f61a7e4e677444aeb1.tar.gz
llvm-fe17cee960edc2f7446097f61a7e4e677444aeb1.tar.bz2
[asan] Fix dyld version detection on OS X
We currently have a dyld check in DyldNeedsEnvVariable that detects whether we are on a new OS X (10.11+) where we don't need to re-exec. For iOS simulator, we have a dlsym() hack that checks for a specific symbol, but this turns out to be fragile and problematic, because dlsym can sometimes call malloc(), which is not a good idea this early in the process runtime. Let's instead of this do a direct comparison of dyld's version, which is exported in a public symbol `dyldVersionNumber`. Differential Revision: http://reviews.llvm.org/D11719 llvm-svn: 243879
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions