diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2015-08-22 00:28:12 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2015-08-22 00:28:12 +0000 |
commit | b04de68aab8094f2d0e0e839e3b12728179c0b82 (patch) | |
tree | 54a4e403743ca4fa3b19a754e0c66b7abb841bdf /lib/msan/msan.cc | |
parent | d387dbcf4853a27dc3a2d620b9d197e86b8f68b5 (diff) |
[Sanitizer] Dump coverage if we're killing the program with __sanitizer::Die().
Previously we had to call __sanitizer_cov_dump() from tool-specific
callbacks - instead, let sanitizer_common library handle this in a single place.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@245770 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/msan/msan.cc')
-rw-r--r-- | lib/msan/msan.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/msan/msan.cc b/lib/msan/msan.cc index 0ba7f32bb..ce4b1a5dd 100644 --- a/lib/msan/msan.cc +++ b/lib/msan/msan.cc @@ -375,7 +375,6 @@ void __msan_init() { msan_init_is_running = 1; SanitizerToolName = "MemorySanitizer"; - SetDieCallback(MsanDie); InitTlsSize(); CacheBinaryName(); |