aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2014-05-29 00:51:15 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2014-05-29 00:51:15 +0000
commit96e239f564bcc6dcf98f715396f3e0c5083e9e64 (patch)
treed251a2787992debe1fe9d74799b1b76805b80f40 /clang/lib/CodeGen/CodeGenModule.cpp
parent304a36b5fc3143aedfac9b966af4261dc73b3315 (diff)
downloadllvm-96e239f564bcc6dcf98f715396f3e0c5083e9e64.zip
llvm-96e239f564bcc6dcf98f715396f3e0c5083e9e64.tar.gz
llvm-96e239f564bcc6dcf98f715396f3e0c5083e9e64.tar.bz2
[ASan] Use llvm.global_ctors to insert init-order checking calls into ASan runtime.
Don't assume that dynamically initialized globals are all initialized from _GLOBAL__<module_name>I_ function. Instead, scan the llvm.global_ctors and insert poison/unpoison calls to each function there. Patch by Nico Weber! llvm-svn: 209780
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions