[PATCH] D71985: [NewPM] Fix -lto-debug-pass-manager in LLD.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 1 19:13:32 PST 2020


MaskRay added a comment.

Looks reasonable.



================
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 '" +
----------------
`auto->Error` since you are touching this line.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71985/new/

https://reviews.llvm.org/D71985





More information about the llvm-commits mailing list