diff options
Diffstat (limited to 'compiler-rt/lib/ubsan/ubsan_handlers.cc')
| -rw-r--r-- | compiler-rt/lib/ubsan/ubsan_handlers.cc | 12 | 
1 files changed, 0 insertions, 12 deletions
diff --git a/compiler-rt/lib/ubsan/ubsan_handlers.cc b/compiler-rt/lib/ubsan/ubsan_handlers.cc index ae0f1f6c3c7..a8df7831d69 100644 --- a/compiler-rt/lib/ubsan/ubsan_handlers.cc +++ b/compiler-rt/lib/ubsan/ubsan_handlers.cc @@ -19,18 +19,6 @@  using namespace __sanitizer;  using namespace __ubsan; -NORETURN void __sanitizer::Die() { -  __builtin_trap(); -} - -NORETURN void __sanitizer::CheckFailed(const char *File, int Line, -                                       const char *Cond, u64 V1, u64 V2) { -  Diag(SourceLocation(File, Line, 0), -       "CHECK failed: %0 (with values %1 and %2)") -    << Cond << V1 << V2; -  Die(); -} -  namespace __ubsan {    const char *TypeCheckKinds[] = {      "load of", "store to", "reference binding to", "member access within",  | 

