HomePhabricator

[ThinLTO] Enable index-only WPD from clang

Description

[ThinLTO] Enable index-only WPD from clang

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.

Reviewers: pcc

Subscribers: mehdi_amini, inglorion, steven_wu, dexonsmith, arphaman, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D68029

Details

Committed
tejohnsonOct 1 2019, 11:08 AM
Differential Revision
D68029: [ThinLTO] Enable index-only WPD from clang
Parents
rL373369: [PGO] Fix typos from r359612. NFC.
Branches
Unknown
Tags
Unknown