[PATCH] [compiler-rt] Ensure AsanInitFromRtl is called from a static initializer on OS X by using ASAN_DYNAMIC=1
Kuba Brecka
kuba.brecka at gmail.com
Thu Jan 22 10:32:20 PST 2015
Changing the patch to use ASAN_DYNAMIC=1 on OS X instead. Changing the title of the
> Can you please remind me why do we want to launch without DYLD_INSERT_LIBRARIES?
We don't want to launch without DYLD_INSERT_LIBRARIES. Whenever we detect that, we relaunch or abort(). But the cases/issues that this patch solves are crashes that happen even *before* we can detect the missing DYLD_INSERT_LIBRARIES. I'm just trying to initialize ASan even sooner, so we can detect the missing env var sooner.
http://reviews.llvm.org/D7117
Files:
lib/asan/CMakeLists.txt
make/platform/clang_darwin.mk
test/asan/TestCases/Darwin/linked-only.cc
test/asan/TestCases/Darwin/mixing-global-constructors.cc
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7117.18625.patch
Type: text/x-patch
Size: 3836 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150122/542bdc3f/attachment.bin>
More information about the llvm-commits
mailing list