diff options
| author | Marcos Pividori <mpividori@google.com> | 2017-02-02 23:01:59 +0000 |
|---|---|---|
| committer | Marcos Pividori <mpividori@google.com> | 2017-02-02 23:01:59 +0000 |
| commit | fe9288a6a06b9fe1cb616183290d0414da743d0c (patch) | |
| tree | 5171c3e91499a212bf085acaf5615f9b2ed62d8f /compiler-rt/lib/asan/asan_posix.cc | |
| parent | ee22156b789b1870502db414d325869d0cb0482d (diff) | |
| download | bcm5719-llvm-fe9288a6a06b9fe1cb616183290d0414da743d0c.tar.gz bcm5719-llvm-fe9288a6a06b9fe1cb616183290d0414da743d0c.zip | |
[sanitizer] Move DescribeSignalOrException to sanitizer_common.
Differential Revision: https://reviews.llvm.org/D29459
llvm-svn: 293956
Diffstat (limited to 'compiler-rt/lib/asan/asan_posix.cc')
| -rw-r--r-- | compiler-rt/lib/asan/asan_posix.cc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/compiler-rt/lib/asan/asan_posix.cc b/compiler-rt/lib/asan/asan_posix.cc index 8e5676309ae..68fde913923 100644 --- a/compiler-rt/lib/asan/asan_posix.cc +++ b/compiler-rt/lib/asan/asan_posix.cc @@ -33,19 +33,6 @@ namespace __asan { -const char *DescribeSignalOrException(int signo) { - switch (signo) { - case SIGFPE: - return "FPE"; - case SIGILL: - return "ILL"; - case SIGABRT: - return "ABRT"; - default: - return "SEGV"; - } -} - void AsanOnDeadlySignal(int signo, void *siginfo, void *context) { ScopedDeadlySignal signal_scope(GetCurrentThread()); int code = (int)((siginfo_t*)siginfo)->si_code; |

