Page MenuHomePhabricator

[ThinLTO] Enable index-only WPD from clang
ClosedPublic

Authored by tejohnson on Sep 25 2019, 7:57 AM.

Details

Summary

To trigger the index-only Whole Program Devirt support added to LLVM, we
need to be able to specify -fno-split-lto-unit in conjunction with
-fwhole-program-vtables. Keep the default for -fwhole-program-vtables as
-fsplit-lto-unit, but don't error on that option combination.

Diff Detail

Repository
rL LLVM

Event Timeline

tejohnson created this revision.Sep 25 2019, 7:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 25 2019, 7:57 AM
pcc accepted this revision.Oct 1 2019, 10:14 AM

LGTM

This revision is now accepted and ready to land.Oct 1 2019, 10:14 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptOct 1 2019, 11:08 AM