diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-07-31 18:59:37 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-07-31 18:59:37 +0000 |
| commit | 38a7f11a5a843aa3eae66dc35c337f869f247c23 (patch) | |
| tree | 480310b4ec96c1e5a232ec6be74f0fa9e28cf38f /clang/test/CodeGenCXX/debug-info.cpp | |
| parent | ed013cd221aea3911dc0c8f33948c05799f751c0 (diff) | |
| download | bcm5719-llvm-38a7f11a5a843aa3eae66dc35c337f869f247c23.tar.gz bcm5719-llvm-38a7f11a5a843aa3eae66dc35c337f869f247c23.zip | |
DI: Update testcases for LLVM assembly change
Update testcases after LLVM change r243774.
Most of these had no need to check `tag:` field, but did so as a way of
getting to the `name:` field. In a few cases I've converted the `tag:`
checks to `arg:` or `CHECK-NOT: arg:`.
llvm-svn: 243775
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info.cpp')
| -rw-r--r-- | clang/test/CodeGenCXX/debug-info.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/debug-info.cpp b/clang/test/CodeGenCXX/debug-info.cpp index 13753684800..bf71bae6b09 100644 --- a/clang/test/CodeGenCXX/debug-info.cpp +++ b/clang/test/CodeGenCXX/debug-info.cpp @@ -142,11 +142,13 @@ incomplete (*x)[3]; } // For some reason function arguments ended up down here -// CHECK: ![[F]] = !DILocalVariable(tag: DW_TAG_arg_variable, name: "f", arg: 1, scope: [[FUNC]] +// CHECK: ![[F]] = !DILocalVariable(name: "f", arg: 1, scope: [[FUNC]] // CHECK-SAME: type: !"[[FOO]]" // CHECK: ![[EXPR]] = !DIExpression(DW_OP_deref) -// CHECK: !DILocalVariable(tag: DW_TAG_auto_variable, name: "c" +// CHECK: !DILocalVariable(name: "c" +// CHECK-NOT: arg: +// CHECK-SAME: ) namespace pr16214 { struct a { |

