r211742 - Make PR20038.cpp test case portable to non-Itanium ABIs

David Blaikie dblaikie at gmail.com
Wed Jun 25 16:19:59 PDT 2014


Author: dblaikie
Date: Wed Jun 25 18:19:58 2014
New Revision: 211742

URL: http://llvm.org/viewvc/llvm-project?rev=211742&view=rev
Log:
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.

Modified:
    cfe/trunk/test/CodeGenCXX/PR20038.cpp

Modified: cfe/trunk/test/CodeGenCXX/PR20038.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/PR20038.cpp?rev=211742&r1=211741&r2=211742&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/PR20038.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/PR20038.cpp Wed Jun 25 18:19:58 2014
@@ -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]],





More information about the cfe-commits mailing list