[PATCH] D70384: [DebugInfo] Support for DW_OP_implicit_pointer (for SROA optimization)
Alok Kumar Sharma via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 18 03:41:49 PST 2019
alok created this revision.
alok added reviewers: aprantl, probinson, dblaikie, jmorse, jini.susan.george, SouraVX, awpandey.
alok added projects: LLVM, debug-info.
Herald added subscribers: llvm-commits, hiraditya.
This patch (4/N) stems from D69787 <https://reviews.llvm.org/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)
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D70384
Files:
llvm/lib/Transforms/Scalar/SROA.cpp
llvm/test/DebugInfo/dwarfdump-implicit_pointer_sroa.c
llvm/test/DebugInfo/dwarfdump-implicit_pointer_sroa_inline.c
llvm/test/DebugInfo/implicit_pointer_sroa.c
llvm/test/DebugInfo/implicit_pointer_sroa_inline.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70384.229791.patch
Type: text/x-patch
Size: 5271 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191118/3fd439f2/attachment.bin>
More information about the llvm-commits
mailing list