summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/ARM/selectiondag-deadcode.ll
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2015-01-19 17:57:29 +0000
committerAdrian Prantl <aprantl@apple.com>2015-01-19 17:57:29 +0000
commit5883af3faaa5355cc886c0b66c95ab7669e024dc (patch)
treeca7fa021facd981f77260e5af019f357165ac39b /llvm/test/DebugInfo/ARM/selectiondag-deadcode.ll
parent7c6f944cdf82c2faa5e2ae0a88184b5683474442 (diff)
downloadbcm5719-llvm-5883af3faaa5355cc886c0b66c95ab7669e024dc.tar.gz
bcm5719-llvm-5883af3faaa5355cc886c0b66c95ab7669e024dc.zip
Remove support for DIVariable's FlagIndirectVariable and expect
frontends to use a DIExpression with a DW_OP_deref instead. This is not only a much more natural place for this informationl; there is also a technical reason: The FlagIndirectVariable is used to mark a variable that is turned into a reference by virtue of the calling convention; this happens for example to aggregate return values. The inliner, for example, may actually need to undo this indirection to correctly represent the value in its new context. This is impossible to implement because the DIVariable can't be safely modified. We can however safely construct a new DIExpression on the fly. llvm-svn: 226476
Diffstat (limited to 'llvm/test/DebugInfo/ARM/selectiondag-deadcode.ll')
-rw-r--r--llvm/test/DebugInfo/ARM/selectiondag-deadcode.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/DebugInfo/ARM/selectiondag-deadcode.ll b/llvm/test/DebugInfo/ARM/selectiondag-deadcode.ll
index 0626d2f1f66..a974692a829 100644
--- a/llvm/test/DebugInfo/ARM/selectiondag-deadcode.ll
+++ b/llvm/test/DebugInfo/ARM/selectiondag-deadcode.ll
@@ -13,7 +13,7 @@ _ZN7Vector39NormalizeEv.exit: ; preds = %1, %0
; and SelectionDAGISel crashes. It should definitely not
; crash. Drop the dbg_value instead.
; CHECK-NOT: "matrix"
- tail call void @llvm.dbg.declare(metadata %class.Matrix3.0.6.10* %agg.result, metadata !45, metadata !{!"0x102"})
+ tail call void @llvm.dbg.declare(metadata %class.Matrix3.0.6.10* %agg.result, metadata !45, metadata !{!"0x102\006"})
%2 = getelementptr inbounds %class.Matrix3.0.6.10* %agg.result, i32 0, i32 0, i32 8
ret void
}
@@ -24,4 +24,4 @@ declare arm_aapcscc void @_ZL4Sqrtd() #2
!39 = !{!"0x2e\00GetMatrix\00GetMatrix\00_Z9GetMatrixv\0032\000\001\000\006\00256\001\0032", !5, !40, !41, null, void (%class.Matrix3.0.6.10*)* @_Z9GetMatrixv, null, null, null} ; [ DW_TAG_subprogram ] [line 32] [def] [GetMatrix]
!40 = !{!"0x29", !5} ; [ DW_TAG_file_type ] [/Volumes/Data/radar/15094721/test.ii]
!41 = !{!"0x15\00\000\000\000\000\000\000", i32 0, null, null, null, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
-!45 = !{!"0x100\00matrix\0035\008192", !39, !40, !4} ; [ DW_TAG_auto_variable ] [matrix] [line 35]
+!45 = !{!"0x100\00matrix\0035\000", !39, !40, !4} ; [ DW_TAG_auto_variable ] [matrix] [line 35]
OpenPOWER on IntegriCloud