Page MenuHomePhabricator

[ThinLTO] Ensure sanitizer passes are run

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



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.

Event Timeline

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


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.