This is an archive of the discontinued LLVM Phabricator instance.

[ThinLTO] Default -enable-import-metadata to false
ClosedPublic

Authored by MaskRay on Dec 31 2020, 9:40 AM.

Details

Summary

The default value is dependent on -DLLVM_ENABLE_ASSERTIONS={off,on} (D22167), which is
error-prone. The few tests checking !thinlto_src_module can specify -enable-import-metadata explicitly.

Diff Detail

Event Timeline

MaskRay created this revision.Dec 31 2020, 9:40 AM
MaskRay requested review of this revision.Dec 31 2020, 9:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 31 2020, 9:40 AM
tejohnson accepted this revision.Dec 31 2020, 9:43 AM

LGTM, I've been bitten by this in new tests as well. We can enable it when needed.

This revision is now accepted and ready to land.Dec 31 2020, 9:43 AM
This revision was landed with ongoing or failed builds.Dec 31 2020, 10:04 AM
This revision was automatically updated to reflect the committed changes.