Enable these passes for CFI and WPD in ThinLTO and LTO with the new pass
manager. Add a couple of tests for both PMs based on the clang tests
tools/clang/test/CodeGen/thinlto-distributed-cfi*.ll, but just test
through llvm-lto2 and not with distributed ThinLTO.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM
lib/Passes/PassBuilder.cpp | ||
---|---|---|
927 ↗ | (On Diff #155903) | There's no need to pass ExportSummary into this function as it is unused (and logically can't be used because the ThinLTO phase should not be exporting anything). Similarly for ImportSummary into buildLTODefaultPipeline. |