This is an archive of the discontinued LLVM Phabricator instance.

[LLD][COFF] Identify /GL object files which are inside libraries
ClosedPublic

Authored by pzheng on Aug 8 2022, 6:02 PM.

Details

Summary

With D26647, we can already identify input object files compiled by cl.exe with
/GL. It seems to be helpful to do the same and print an error message for those
object files compiled with /GL but are inside libraries/archives too.

Diff Detail

Event Timeline

pzheng created this revision.Aug 8 2022, 6:02 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 8 2022, 6:02 PM
pzheng requested review of this revision.Aug 8 2022, 6:02 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 8 2022, 6:02 PM
pzheng updated this revision to Diff 451018.Aug 8 2022, 6:05 PM

minor change

rnk accepted this revision.Aug 8 2022, 9:29 PM

lgtm

This revision is now accepted and ready to land.Aug 8 2022, 9:29 PM
thieta accepted this revision.Aug 8 2022, 10:18 PM

Thanks!

Thanks for reviewing!