summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/X86/dbg-value-inlined-parameter.ll
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-05-23 21:11:46 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-05-23 21:11:46 +0000
commit2f75351c02a32592f5c0f2af3a2ab10cf12cdb07 (patch)
treeb5fc91e71c12d36f902aa08d3463742612fe5dff /llvm/test/DebugInfo/X86/dbg-value-inlined-parameter.ll
parent71ed20f67198c06039b6f9419318ecfbf83eb51d (diff)
downloadbcm5719-llvm-2f75351c02a32592f5c0f2af3a2ab10cf12cdb07.tar.gz
bcm5719-llvm-2f75351c02a32592f5c0f2af3a2ab10cf12cdb07.zip
DebugInfo: Generalize some tests to handle variations in attribute ordering.
In an effort to fix inlined debug info in situations where the out of line definition of a function preceeds any inlined usage, the order in which some attributes are added to subprogram DIEs may change. (in essence, definition-necessary attributes like DW_AT_low_pc/high_pc will be added immediately, but the names, types, and other features will be delayed to module end where they may either be added to the subprogram DIE or instead reference an abstract definition for those values) These tests can be generalized to be resilient to this change. 5 or so tests actually have to be incompatibly changed to cope with this reordering and will go along with the change that affects the order. llvm-svn: 209554
Diffstat (limited to 'llvm/test/DebugInfo/X86/dbg-value-inlined-parameter.ll')
-rw-r--r--llvm/test/DebugInfo/X86/dbg-value-inlined-parameter.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/X86/dbg-value-inlined-parameter.ll b/llvm/test/DebugInfo/X86/dbg-value-inlined-parameter.ll
index 3db67ffdc7a..45281c92953 100644
--- a/llvm/test/DebugInfo/X86/dbg-value-inlined-parameter.ll
+++ b/llvm/test/DebugInfo/X86/dbg-value-inlined-parameter.ll
@@ -16,7 +16,7 @@
;FIXME: Linux shouldn't drop this parameter either...
;LINUX-NOT: DW_TAG_formal_parameter
;DARWIN: DW_TAG_formal_parameter
-;DARWIN-NEXT: DW_AT_name [DW_FORM_strp] ( .debug_str[0x00000055] = "sp")
+;DARWIN-NEXT: DW_AT_name {{.*}} "sp"
%struct.S1 = type { float*, i32 }
OpenPOWER on IntegriCloud