diff options
author | Adrian Prantl <aprantl@apple.com> | 2015-01-19 17:51:58 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2015-01-19 17:51:58 +0000 |
commit | a99f49a59e46a202e93de620c5f0c8164a1f834e (patch) | |
tree | b5b7fa8177d98b74dceb21adf285cd75932f64b3 /test/CodeGen/debug-info-vla.c | |
parent | ba294eb8f9baa1ff747e356e165a682a03a4d4ec (diff) | |
download | clang-a99f49a59e46a202e93de620c5f0c8164a1f834e.tar.gz |
Migrate all uses of DIVariable's FlagIndirectVariable to use a DIExpression
with a DW_OP_deref instead.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@226474 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/debug-info-vla.c')
-rw-r--r-- | test/CodeGen/debug-info-vla.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/CodeGen/debug-info-vla.c b/test/CodeGen/debug-info-vla.c index ac45dd0a76..7d321cf05f 100644 --- a/test/CodeGen/debug-info-vla.c +++ b/test/CodeGen/debug-info-vla.c @@ -2,7 +2,10 @@ void testVLAwithSize(int s) { -// CHECK: !"0x100\00vla\00[[@LINE+1]]\008192", {{.*}}, {{.*}}, {{.*}}} ; [ DW_TAG_auto_variable ] [vla] [line [[@LINE+1]]] +// CHECK: dbg.declare +// CHECK: dbg.declare({{.*}}, metadata ![[VAR:.*]], metadata ![[EXPR:.*]]) +// CHECK: ![[VAR]] = {{.*}} ; [ DW_TAG_auto_variable ] [vla] [line [[@LINE+2]]] +// CHECK: ![[EXPR]] = {{.*}} ; [ DW_TAG_expression ] [DW_OP_deref] int vla[s]; int i; for (i = 0; i < s; i++) { |