[PATCH] D77747: Add pass to strip debug info from MIR
Daniel Sanders via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 9 12:54:17 PDT 2020
dsanders updated this revision to Diff 256358.
dsanders added a comment.
Fix a few issues that came up when injecting into pipelines:
- Strip debugify metadata as well
- Strip 'Debug Info Version' module flag
- Don't strip certain broken DBG_VALUE instructions. AArch64 (incorrectly) inserts one when debug info is not present and tests depend on it.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77747/new/
https://reviews.llvm.org/D77747
Files:
llvm/include/llvm/CodeGen/Passes.h
llvm/include/llvm/InitializePasses.h
llvm/lib/CodeGen/CMakeLists.txt
llvm/lib/CodeGen/CodeGen.cpp
llvm/lib/CodeGen/MachineStripDebug.cpp
llvm/test/CodeGen/Generic/MIRDebugify/locations.mir
llvm/test/CodeGen/Generic/MIRStripDebug/all.mir
llvm/test/CodeGen/Generic/MIRStripDebug/multiple-moduleflags.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77747.256358.patch
Type: text/x-patch
Size: 13522 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200409/27588fef/attachment.bin>
More information about the llvm-commits
mailing list