Page MenuHomePhabricator

[ThinLTO] Ensure sanitizer passes are run
ClosedPublic

Authored by tejohnson on Nov 2 2017, 1:32 PM.

Details

Summary

In ThinLTO compilation, we exit populateModulePassManager early and
were not adding PM extension passes meant to run at the end of the
pipeline. This includes sanitizer passes. Add these passes before
the early exit.

A test will be added to projects/compiler-rt.

Diff Detail

Repository
rL LLVM

Event Timeline

tejohnson created this revision.Nov 2 2017, 1:32 PM
pcc accepted this revision.Nov 8 2017, 9:47 AM

LGTM

This revision is now accepted and ready to land.Nov 8 2017, 9:47 AM
This revision was automatically updated to reflect the committed changes.