diff options
author | Alexey Samsonov <samsonov@google.com> | 2013-04-19 08:35:16 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2013-04-19 08:35:16 +0000 |
commit | dcf0ade114afb54679695b586f8d30d97b113d62 (patch) | |
tree | 14d51679bca386fef4f82290161ce93647d0d38f /llvm/lib/Object/MachOObjectFile.cpp | |
parent | 443427357f539f5ac97e664a53aa9e50788abce9 (diff) | |
download | llvm-dcf0ade114afb54679695b586f8d30d97b113d62.zip llvm-dcf0ade114afb54679695b586f8d30d97b113d62.tar.gz llvm-dcf0ade114afb54679695b586f8d30d97b113d62.tar.bz2 |
[ASan] Make init-order checker allow access to already initialized globals.
This change adds ASan runtime option "strict-init-order" (off by default)
that makes init-order checker bark if global initializer accesses any global from different
translation unit (even if the latter is already initialized). strict init-order checking
doesn't play well with, e.g. LLVM registration machineries, and causes issue
https://code.google.com/p/address-sanitizer/issues/detail?id=178.
llvm-svn: 179843
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions