[PATCH] D71985: [NewPM] Fix -lto-debug-pass-manager in LLD.
Hugh Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 3 18:03:08 PST 2020
hghwng added inline comments.
================
Comment at: llvm/lib/LTO/LTOBackend.cpp:257
// Now, add all the passes we've been requested to.
- if (auto Err = PB.parsePassPipeline(MPM, PipelineDesc))
+ if (auto Err = PB.parsePassPipeline(MPM, PipelineDesc, true, DebugPassManager))
report_fatal_error("unable to parse pass pipeline description '" +
----------------
MaskRay wrote:
> `auto->Error` since you are touching this line.
Could you please elaborate it a bit?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71985/new/
https://reviews.llvm.org/D71985
More information about the llvm-commits
mailing list