diff options
| author | Will Schmidt <will_schmidt@vnet.ibm.com> | 2014-06-02 21:47:14 +0000 |
|---|---|---|
| committer | Will Schmidt <will_schmidt@vnet.ibm.com> | 2014-06-02 21:47:14 +0000 |
| commit | f110dfffbb9efe9cc8ce2b1669a4ff2bc9fa9911 (patch) | |
| tree | dc61b744a46fc18861486db4672050443305c4c6 /test/CodeGenCXX/debug-info-same-line.cpp | |
| parent | 6ea41c97e88601c08c12fdc17acca9fb8329a61f (diff) | |
| download | clang-f110dfffbb9efe9cc8ce2b1669a4ff2bc9fa9911.tar.gz clang-f110dfffbb9efe9cc8ce2b1669a4ff2bc9fa9911.tar.bz2 clang-f110dfffbb9efe9cc8ce2b1669a4ff2bc9fa9911.tar.xz | |
allow optional signext attribute
Allow the tests to succeed with tne signext (or other) attribute is present. The attributes
show up for Power, but not for x86*, so need to be appropriately wildcarded.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210050 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/debug-info-same-line.cpp')
| -rw-r--r-- | test/CodeGenCXX/debug-info-same-line.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGenCXX/debug-info-same-line.cpp b/test/CodeGenCXX/debug-info-same-line.cpp index c6216b3ff8..965a538f84 100644 --- a/test/CodeGenCXX/debug-info-same-line.cpp +++ b/test/CodeGenCXX/debug-info-same-line.cpp @@ -35,8 +35,8 @@ int main() { // Check that we don't give column information (and thus end up with distinct // line entries) for two non-inlined calls on the same line. -// CHECK: call {{.*}}noinline{{.*}}(i32 5, i32 6), !dbg [[NOINLINE:![0-9]*]] -// CHECK: call {{.*}}noinline{{.*}}(i32 7, i32 8), !dbg [[NOINLINE]] +// CHECK: call {{.*}}noinline{{.*}}({{i32[ ]?[a-z]*}} 5, {{i32[ ]?[a-z]*}} 6), !dbg [[NOINLINE:![0-9]*]] +// CHECK: call {{.*}}noinline{{.*}}({{i32[ ]?[a-z]*}} 7, {{i32[ ]?[a-z]*}} 8), !dbg [[NOINLINE]] // FIXME: These should be separate locations but because the two calls have the // same line /and/ column, they get coalesced into a single inlined call by @@ -50,8 +50,8 @@ int main() { // Even if the functions are marked inline but do not get inlined, they // shouldn't use column information, and thus should be at the same debug // location. -// CHECK: call {{.*}}inlsum{{.*}}(i32 13, i32 14), !dbg [[INL_FIRST:![0-9]*]] -// CHECK: call {{.*}}inlsum{{.*}}(i32 15, i32 16), !dbg [[INL_SECOND:![0-9]*]] +// CHECK: call {{.*}}inlsum{{.*}}({{i32[ ]?[a-z]*}} 13, {{i32[ ]?[a-z]*}} 14), !dbg [[INL_FIRST:![0-9]*]] +// CHECK: call {{.*}}inlsum{{.*}}({{i32[ ]?[a-z]*}} 15, {{i32[ ]?[a-z]*}} 16), !dbg [[INL_SECOND:![0-9]*]] // [[FIRST_INLINE]] = // [[SECOND_INLINE]] = |
