diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2015-08-24 22:21:47 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2015-08-24 22:21:47 +0000 |
commit | b1900f9b3f936a8f84cd42d1aabd899613f32137 (patch) | |
tree | c58373d0306c5ebed1969c63764a47fd2c4c03dc /lib/msan/msan.cc | |
parent | 1976cba7cb87f0b901085fdaf062b38e3f7c4208 (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.
This is a re-application of r245770, with slightly different approach
taken.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@245890 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 1b116815f..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"; - AddDieCallback(MsanDie); InitTlsSize(); CacheBinaryName(); |