diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-06-20 00:25:24 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-06-20 00:25:24 +0000 |
commit | 4532c280f540de22c83ca2525f1a9a7722b4d7e3 (patch) | |
tree | 4a03eed7316ba7ef87fad19b7f9e02daf450c562 /test/DebugInfo/X86/dbg-value-inlined-parameter.ll | |
parent | 4e91fa3834008778b10d6770f9872c50e1e75659 (diff) | |
download | llvm-4532c280f540de22c83ca2525f1a9a7722b4d7e3.tar.gz llvm-4532c280f540de22c83ca2525f1a9a7722b4d7e3.tar.bz2 llvm-4532c280f540de22c83ca2525f1a9a7722b4d7e3.tar.xz |
DebugInfo: don't use location lists when the location covers the whole function anyway
Fix up three tests - one that was relying on abbreviation number,
another relying on a location list in this case (& testing raw asm,
changed that to use dwarfdump on the debug_info now that that's where
the location is), and another which was added in r184368 - exposing a
bug in that fix that is exposed when we emit the location inline rather
than through a location list. Fix that bug while I'm here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184387 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo/X86/dbg-value-inlined-parameter.ll')
-rw-r--r-- | test/DebugInfo/X86/dbg-value-inlined-parameter.ll | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/DebugInfo/X86/dbg-value-inlined-parameter.ll b/test/DebugInfo/X86/dbg-value-inlined-parameter.ll index da6423fa76..6f4d3ab09d 100644 --- a/test/DebugInfo/X86/dbg-value-inlined-parameter.ll +++ b/test/DebugInfo/X86/dbg-value-inlined-parameter.ll @@ -3,14 +3,15 @@ ; RUN: llc -mtriple=x86_64-apple-darwin -regalloc=basic %s -filetype=obj -o %t ; RUN: llvm-dwarfdump -debug-dump=info %t | FileCheck %s -;CHECK: DW_TAG_inlined_subroutine [12] +;CHECK: DW_TAG_inlined_subroutine ;CHECK-NEXT: DW_AT_abstract_origin ;CHECK-NEXT: DW_AT_low_pc ;CHECK-NEXT: DW_AT_high_pc ;CHECK-NEXT: DW_AT_call_file ;CHECK-NEXT: DW_AT_call_line -;CHECK: DW_TAG_formal_parameter [9] +;CHECK: DW_TAG_formal_parameter +;CHECK: DW_TAG_formal_parameter ;CHECK-NEXT: DW_AT_name [DW_FORM_strp] ( .debug_str[0x00000055] = "sp") %struct.S1 = type { float*, i32 } |