Page MenuHomePhabricator

Move vtable type metadata emission behind a cc1-level flag.
ClosedPublic

Authored by pcc on Jan 18 2017, 3:56 PM.

Details

Summary

In ThinLTO mode, type metadata will require the module to be written as a
multi-module bitcode file, which is currently incompatible with the Darwin
linker. It is also useful to be able to enable or disable multi-module bitcode
for testing purposes. This introduces a cc1-level flag, -f{,no-}lto-unit,
which is used by the driver to enable multi-module bitcode on all but
Darwin+ThinLTO, and can also be used to enable/disable the feature manually.

Diff Detail

Repository
rL LLVM

Event Timeline

pcc created this revision.Jan 18 2017, 3:56 PM
This revision is now accepted and ready to land.Jan 18 2017, 3:59 PM
This revision was automatically updated to reflect the committed changes.