summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorVlad Tsyrklevich <vlad@tsyrklevich.net>2018-10-22 21:51:58 +0000
committerVlad Tsyrklevich <vlad@tsyrklevich.net>2018-10-22 21:51:58 +0000
commitca1c9791e3d2aea4de37067584d46e13c00f46bb (patch)
tree2677f5734d3e8eab8dd0c72dfedf5a0c7d5ad625 /clang/test
parent74533bd3b80c9e57940e06579b162c7db67d5b9d (diff)
downloadbcm5719-llvm-ca1c9791e3d2aea4de37067584d46e13c00f46bb.tar.gz
bcm5719-llvm-ca1c9791e3d2aea4de37067584d46e13c00f46bb.zip
Revert "Ensure sanitizer check function calls have a !dbg location"
This reverts commit r344915. It was causing exceptions on the x86_64-linux-ubsan bot. llvm-svn: 344961
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/CodeGenCXX/ubsan-check-debuglocs.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/clang/test/CodeGenCXX/ubsan-check-debuglocs.cpp b/clang/test/CodeGenCXX/ubsan-check-debuglocs.cpp
deleted file mode 100644
index 96a697aca5e..00000000000
--- a/clang/test/CodeGenCXX/ubsan-check-debuglocs.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
-// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited \
-// RUN: -fsanitize=null %s -o - | FileCheck %s
-
-// Check that santizer check calls have a !dbg location.
-// CHECK: define {{.*}}acquire{{.*}} !dbg
-// CHECK-NOT: define
-// CHECK: call void {{.*}}@__ubsan_handle_type_mismatch_v1
-// CHECK-SAME: !dbg
-
-struct SourceLocation {
- SourceLocation acquire() {};
-};
-extern "C" void __ubsan_handle_type_mismatch_v1(SourceLocation *Loc);
-static void handleTypeMismatchImpl(SourceLocation *Loc) { Loc->acquire(); }
-void __ubsan_handle_type_mismatch_v1(SourceLocation *Loc) {
- handleTypeMismatchImpl(Loc);
-}
OpenPOWER on IntegriCloud