summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/ubsan-vtable-checks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGenCXX/ubsan-vtable-checks.cpp')
-rw-r--r--clang/test/CodeGenCXX/ubsan-vtable-checks.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/CodeGenCXX/ubsan-vtable-checks.cpp b/clang/test/CodeGenCXX/ubsan-vtable-checks.cpp
index 494455b4ef2..96f128918c5 100644
--- a/clang/test/CodeGenCXX/ubsan-vtable-checks.cpp
+++ b/clang/test/CodeGenCXX/ubsan-vtable-checks.cpp
@@ -15,7 +15,7 @@ struct U : T {
U::~U() {}
// ITANIUM: define i32 @_Z5get_vP1T
-// MSABI: define dso_local i32 @"\01?get_v
+// MSABI: define dso_local i32 @"?get_v
int get_v(T* t) {
// First, we check that vtable is not loaded before a type check.
// CHECK-NULL-NOT: load {{.*}} (%struct.T*{{.*}})**, {{.*}} (%struct.T*{{.*}})***
@@ -28,7 +28,7 @@ int get_v(T* t) {
}
// ITANIUM: define void @_Z9delete_itP1T
-// MSABI: define dso_local void @"\01?delete_it
+// MSABI: define dso_local void @"?delete_it
void delete_it(T *t) {
// First, we check that vtable is not loaded before a type check.
// CHECK-VPTR-NOT: load {{.*}} (%struct.T*{{.*}})**, {{.*}} (%struct.T*{{.*}})***
@@ -40,7 +40,7 @@ void delete_it(T *t) {
}
// ITANIUM: define %struct.U* @_Z7dyncastP1T
-// MSABI: define dso_local %struct.U* @"\01?dyncast
+// MSABI: define dso_local %struct.U* @"?dyncast
U* dyncast(T *t) {
// First, we check that dynamic_cast is not called before a type check.
// CHECK-VPTR-NOT: call i8* @__{{dynamic_cast|RTDynamicCast}}
OpenPOWER on IntegriCloud