This is an archive of the discontinued LLVM Phabricator instance.

[DebugInfo] Support for DW_OP_implicit_pointer (for SROA optimization)
Needs ReviewPublic

Authored by alok on Nov 18 2019, 3:36 AM.

Details

Summary

This patch (7/N) stems from D69787

Summary:
  Just invoked salvaging debug info function before deleting the instructions.

Testing:
   - Added unit tests for validation of LLVM IR and object file thru llvm-dwarfdump
   - check-llvm, and an end-to-end test using gnu GDB to debug an optimized
     program (LLDB need to be enhanced to support).
   - check-debuginfo (the debug info integration tests)

Diff Detail

Event Timeline

alok created this revision.Nov 18 2019, 3:36 AM
alok updated this revision to Diff 230810.Nov 24 2019, 10:29 AM
alok edited the summary of this revision. (Show Details)

Updated to rebase due to changes in trunk and parent patches.