This is an archive of the discontinued LLVM Phabricator instance.

[llvm-lib] Ignore /LTCG option
ClosedPublic

Authored by pzheng on May 19 2022, 11:42 AM.

Details

Summary

"The /LTCG option to LIB specifies that the inputs from cl.exe include object
files generated by using the /GL compiler option."

Based on Microsoft's description
above (https://docs.microsoft.com/en-us/cpp/build/reference/running-lib?view=msvc-170),
there doesn't seem to be anything llvm-lib needs to do to support the flag.

Diff Detail

Event Timeline

pzheng created this revision.May 19 2022, 11:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 19 2022, 11:42 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
pzheng requested review of this revision.May 19 2022, 11:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 19 2022, 11:42 AM
rnk accepted this revision.May 27 2022, 11:25 AM

lgtm

This revision is now accepted and ready to land.May 27 2022, 11:25 AM
This revision was landed with ongoing or failed builds.May 27 2022, 11:39 AM
This revision was automatically updated to reflect the committed changes.