[PATCH] D33370: Don't verify cross-imported bitcode in FunctionImporter

Mehdi AMINI via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 19 16:39:33 PDT 2017


mehdi_amini accepted this revision.
mehdi_amini added a comment.
This revision is now accepted and ready to land.

LGTM.



================
Comment at: lib/LTO/ThinLTOCodeGenerator.cpp:214
+  // Verify again after cross-importing.
+  verifyLoadedModule(TheModule);
 }
----------------
Can you mention in the comment that we're doing it in order to strip invalid debug info that could have been imported in the process?


Repository:
  rL LLVM

https://reviews.llvm.org/D33370





More information about the llvm-commits mailing list