A few tests start out with debug info and expect it to reach
the output. For these tests we shouldn't strip the debug info
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/CodeGen/MachineStripDebug.cpp | ||
---|---|---|
36 | Stripping only debug info added by the debugify pass.? |
llvm/lib/CodeGen/MachineStripDebug.cpp | ||
---|---|---|
108 | I think the default value for OnlyDebugified should come from a cl::opt (e.g. -mir-strip-debugify-only=0|1). Otherwise, changing the behavior of -mir-strip-debug would require further compiler changes. |
Comment Actions
Looks good! I'll send a follow up change so we can share some of the stripping logic with the IR-level debugify pass.
llvm/lib/CodeGen/MachineStripDebug.cpp | ||
---|---|---|
36 | Sgtm. |
Stripping only debug info added by the debugify pass.?