summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp
diff options
context:
space:
mode:
authorAndrew Ng <anng.sw@gmail.com>2017-04-28 08:44:30 +0000
committerAndrew Ng <anng.sw@gmail.com>2017-04-28 08:44:30 +0000
commit03e35b6bc0d95f9d5b389ab78259cfe54cd954f2 (patch)
tree22ade70469c2d3a18357c564c9b19f5b7ed03859 /llvm/lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp
parent053cf4da9d3856a1165478f0602a17e68d136c46 (diff)
downloadbcm5719-llvm-03e35b6bc0d95f9d5b389ab78259cfe54cd954f2.tar.gz
bcm5719-llvm-03e35b6bc0d95f9d5b389ab78259cfe54cd954f2.zip
[DebugInfo][X86] Improve X86 Optimize LEAs handling of debug values.
This is a follow up to the fix in r298360 to improve the handling of debug values when redundant LEAs are removed. The fix in r298360 effectively discarded the debug values. This patch now attempts to preserve the debug values by using the DWARF DW_OP_stack_value operation via prependDIExpr. Moved functions appendOffset and prependDIExpr from Local.cpp to DebugInfoMetadata.cpp and made them available as static member functions of DIExpression. Differential Revision: https://reviews.llvm.org/D31604 llvm-svn: 301630
Diffstat (limited to 'llvm/lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud