diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-09-27 11:32:21 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-09-27 11:32:21 +0000 |
commit | cfc29de659f3abbb9273fb0fb1c9a3cd5400c81b (patch) | |
tree | 01d9f6bdb649b3c9730e762343d7efab289e4d9c /lib/msan/msan.cc | |
parent | c78773e8c3db9e191e736acdc608e7d81ac42513 (diff) | |
download | compiler-rt-cfc29de659f3abbb9273fb0fb1c9a3cd5400c81b.tar.gz compiler-rt-cfc29de659f3abbb9273fb0fb1c9a3cd5400c81b.tar.bz2 compiler-rt-cfc29de659f3abbb9273fb0fb1c9a3cd5400c81b.tar.xz |
[msan] Unpoison argument shadow for C++ module destructors.
Fixes PR17377.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191508 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/msan/msan.cc')
-rw-r--r-- | lib/msan/msan.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/msan/msan.cc b/lib/msan/msan.cc index 34a7c9f7..6b52c727 100644 --- a/lib/msan/msan.cc +++ b/lib/msan/msan.cc @@ -296,10 +296,10 @@ void __msan_init() { msan_init_is_running = 1; SanitizerToolName = "MemorySanitizer"; - InstallAtExitHandler(); SetDieCallback(MsanDie); InitTlsSize(); InitializeInterceptors(); + InstallAtExitHandler(); // Needs __cxa_atexit interceptor. if (MSAN_REPLACE_OPERATORS_NEW_AND_DELETE) ReplaceOperatorsNewAndDelete(); |