[asan] make sure that linker-initialized globals (non-extern) are not instrumented...
authorKostya Serebryany <kcc@google.com>
Tue, 20 Nov 2012 13:00:01 +0000 (13:00 +0000)
committerKostya Serebryany <kcc@google.com>
Tue, 20 Nov 2012 13:00:01 +0000 (13:00 +0000)
commitca23d43084c45a7d6f4371d62f45be044650ce38
tree62f9633768cc0cc267f0ce248166665942de0f24
parent426fe8b83a84d9608bf8af96117316a921027f18
[asan] make sure that linker-initialized globals (non-extern) are not instrumented even in -asan-initialization-order mode. This time with a test

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