diff options
author | Devang Patel <dpatel@apple.com> | 2011-02-15 17:56:09 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2011-02-15 17:56:09 +0000 |
commit | d3526eab46b96509d3195cf3367811af67b6d2c7 (patch) | |
tree | e603d0169f5c4c51f323c32fe7db35233fe056b0 /test | |
parent | 6e31b9b8c36c6dc1ed2bf9d47d9e04f1af17d0f4 (diff) | |
download | llvm-d3526eab46b96509d3195cf3367811af67b6d2c7.tar.gz llvm-d3526eab46b96509d3195cf3367811af67b6d2c7.tar.bz2 llvm-d3526eab46b96509d3195cf3367811af67b6d2c7.tar.xz |
Ignore DBG_VALUE machine instructions while constructing instruction ranges based on location info.
Machine instruction range consisting of only DBG_VALUE MIs only contributes consecutive labels in assembly output, which is harmless, and empty scope entry in DebugInfo, which confuses debugger tools.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125577 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/X86/dbg-value-range.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/dbg-value-range.ll b/test/CodeGen/X86/dbg-value-range.ll index ff7f8c6421..2985224d9d 100644 --- a/test/CodeGen/X86/dbg-value-range.ll +++ b/test/CodeGen/X86/dbg-value-range.ll @@ -44,12 +44,12 @@ declare void @llvm.dbg.value(metadata, i64, metadata) nounwind readnone ; check that variable bar:b value range is appropriately trucated in debug info. Here Ltmp5 is end of ; location range. -;CHECK:Ltmp7 +;CHECK:Ltmp6 ;CHECK-NEXT: DEBUG_VALUE: bar:b <- undef ;CHECK:Ldebug_loc0: ;CHECK-NEXT: .quad Ltmp -;CHECK-NEXT: .quad Ltmp7 +;CHECK-NEXT: .quad Ltmp6 ;CHECK-NEXT: .short 1 ;CHECK-NEXT: .byte 85 ;CHECK-NEXT: .quad 0 |