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
- Build Status
Buildable 20451 Build 20451: arc lint + arc unit
Event Timeline
Comment Actions
LGTM
lib/Passes/PassBuilder.cpp | ||
---|---|---|
927 | 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. |
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.