diff options
author | David Blaikie <dblaikie@gmail.com> | 2015-06-29 17:29:50 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2015-06-29 17:29:50 +0000 |
commit | 51b2a6bc7d3fe59f6502508a133d607f73409f16 (patch) | |
tree | e2cb4a66d5d99f40c55a303d4a272ec0d6adf2fc /test/CodeGenCXX/vararg-non-pod.cpp | |
parent | e224f9922d6c828390c13e7606555761dc35fd5c (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/vararg-non-pod.cpp')
-rw-r--r-- | test/CodeGenCXX/vararg-non-pod.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenCXX/vararg-non-pod.cpp b/test/CodeGenCXX/vararg-non-pod.cpp index 613b28c736..36891a4d28 100644 --- a/test/CodeGenCXX/vararg-non-pod.cpp +++ b/test/CodeGenCXX/vararg-non-pod.cpp @@ -8,7 +8,7 @@ struct X { void vararg(...); -// CHECK-LABEL: define void @_Z4test1X +// CHECK-LABEL: define {{.*}}void @_Z4test1X void test(X x) { // CHECK: call void @llvm.trap() vararg(x); |