[asan] don't instrument module CTORs that may be run before asan.module_ctor. This...
authorKostya Serebryany <kcc@google.com>
Wed, 24 Sep 2014 22:41:55 +0000 (22:41 +0000)
committerKostya Serebryany <kcc@google.com>
Wed, 24 Sep 2014 22:41:55 +0000 (22:41 +0000)
commit0e9d1148656105a17365494044a0a82d547ee76f
tree72b88069ba66942a0591153501eb870d143676ff
parentd4c244f2eb0ca7bca624291bf4531cab768efeb1
[asan] don't instrument module CTORs that may be run before asan.module_ctor. This fixes asan running together -coverage

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218421 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/AddressSanitizer.cpp
test/Instrumentation/AddressSanitizer/instrument_initializer_metadata.ll