]> granicus.if.org Git - clang/commitdiff
Make PR20038.cpp test case portable to non-Itanium ABIs
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 25 Jun 2014 23:19:58 +0000 (23:19 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 25 Jun 2014 23:19:58 +0000 (23:19 +0000)
The only call in this function is to the dtor, so there's no need to
name a non-portable mangled function name to match it.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211742 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/PR20038.cpp

index 8b3ffc6f53a49e02cb9077dfd85c6aa65253db40..671b8bcd7baa3e218d054eb496552530ca9b9138 100644 (file)
@@ -4,7 +4,7 @@ struct C {
   ~C();
 };
 extern bool b;
-// CHECK: call void @_ZN1CD1Ev({{.*}}), !dbg [[DTOR_CALL_LOC:![0-9]*]]
+// CHECK: call {{.*}}, !dbg [[DTOR_CALL_LOC:![0-9]*]]
 // CHECK: [[FUN4:.*]] = {{.*}}; [ DW_TAG_subprogram ] {{.*}} [def] [fun4]
 // CHECK: [[DTOR_CALL_LOC]] = metadata !{i32 [[@LINE+2]], i32 0, metadata [[FUN4_BLOCK:.*]], null}
 // CHECK: [[FUN4_BLOCK]] = metadata !{{{[^,]*}}, {{[^,]*}}, metadata [[FUN4]],