[PATCH] D70385: [DebugInfo] Support for DW_OP_implicit_pointer (for mem2reg optimization)
Alok Kumar Sharma via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 18 03:41:50 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 (5/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/D70385
Files:
llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
llvm/test/DebugInfo/dwarfdump-implicit_pointer_mem2reg.c
llvm/test/DebugInfo/implicit_pointer_mem2reg.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70385.229792.patch
Type: text/x-patch
Size: 4414 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191118/d1578be4/attachment-0001.bin>
More information about the llvm-commits
mailing list