summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/constructor-attr.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2015-06-29 17:29:50 +0000
committerDavid Blaikie <dblaikie@gmail.com>2015-06-29 17:29:50 +0000
commit51b2a6bc7d3fe59f6502508a133d607f73409f16 (patch)
treee2cb4a66d5d99f40c55a303d4a272ec0d6adf2fc /test/CodeGenCXX/constructor-attr.cpp
parente224f9922d6c828390c13e7606555761dc35fd5c (diff)
Account for calling convention specifiers in function definitions in IR test cases
Several tests wouldn't pass when executed on an armv7a_pc_linux triple due to the non-default arm_aapcs calling convention produced on the function definitions in the IR output. Account for this with the application of a little regex. Patch by Ying Yi. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@240971 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/constructor-attr.cpp')
-rw-r--r--test/CodeGenCXX/constructor-attr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenCXX/constructor-attr.cpp b/test/CodeGenCXX/constructor-attr.cpp
index 468ce36688..ec27ed210c 100644
--- a/test/CodeGenCXX/constructor-attr.cpp
+++ b/test/CodeGenCXX/constructor-attr.cpp
@@ -5,7 +5,7 @@
// PR6521
void bar();
struct Foo {
- // CHECK-LABEL: define linkonce_odr void @_ZN3Foo3fooEv
+ // CHECK-LABEL: define linkonce_odr {{.*}}void @_ZN3Foo3fooEv
static void foo() __attribute__((constructor)) {
bar();
}