diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-10-29 17:27:14 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-10-29 17:27:14 +0000 |
commit | faf4ed2da85b10eb0b6c506c4a642a2a9395786f (patch) | |
tree | 75b2d74f41be5ccf38428b72408404b76e232a1b /test/DebugInfo/X86 | |
parent | ffc7dca885151ed42642c2d6733e8db75d276621 (diff) | |
download | external_llvm-faf4ed2da85b10eb0b6c506c4a642a2a9395786f.zip external_llvm-faf4ed2da85b10eb0b6c506c4a642a2a9395786f.tar.gz external_llvm-faf4ed2da85b10eb0b6c506c4a642a2a9395786f.tar.bz2 |
Debug Info: clean up testing case.
Add a tag before the name attribute for readability. Use CHECK-NEXT
instead of CHECK-NOT followed by a CHECK. Add new lines to separate checking
of different DIEs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193629 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo/X86')
-rw-r--r-- | test/DebugInfo/X86/debug-info-blocks.ll | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/DebugInfo/X86/debug-info-blocks.ll b/test/DebugInfo/X86/debug-info-blocks.ll index b4e3794..1ddc400 100644 --- a/test/DebugInfo/X86/debug-info-blocks.ll +++ b/test/DebugInfo/X86/debug-info-blocks.ll @@ -5,13 +5,15 @@ ; rdar://problem/9279956 ; test that the DW_AT_location of self is at ( fbreg +{{[0-9]+}}, deref, +{{[0-9]+}} ) +; CHECK: DW_TAG_subprogram ; CHECK: DW_AT_name{{.*}}_block_invoke + ; CHECK-NOT: DW_TAG_subprogram ; CHECK: DW_TAG_formal_parameter -; CHECK-NOT: DW_TAG -; CHECK: .block_descriptor +; CHECK-NEXT: DW_AT_name{{.*}}.block_descriptor ; CHECK-NOT: DW_TAG ; CHECK: DW_AT_location + ; CHECK-NOT: DW_TAG_subprogram ; CHECK: DW_TAG_variable ; CHECK-NEXT: DW_AT_name{{.*}}"self" |