summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-06-25 23:19:58 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-06-25 23:19:58 +0000
commit740214c8b65b0d67e0bbf6e692735e5ac372cbd4 (patch)
tree0ed114577c97d3398a11886a4dbd506a719a98cf
parent772c670143b4e9a72ca30347bea216d20999c732 (diff)
downloadclang-740214c8b65b0d67e0bbf6e692735e5ac372cbd4.tar.gz
clang-740214c8b65b0d67e0bbf6e692735e5ac372cbd4.tar.bz2
clang-740214c8b65b0d67e0bbf6e692735e5ac372cbd4.tar.xz
Make PR20038.cpp test case portable to non-Itanium ABIs
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
-rw-r--r--test/CodeGenCXX/PR20038.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenCXX/PR20038.cpp b/test/CodeGenCXX/PR20038.cpp
index 8b3ffc6f53..671b8bcd7b 100644
--- a/test/CodeGenCXX/PR20038.cpp
+++ b/test/CodeGenCXX/PR20038.cpp
@@ -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]],