This is an archive of the discontinued LLVM Phabricator instance.

Add vendor macro to "lld"
ClosedPublic

Authored by stevewan on Apr 28 2020, 10:21 AM.

Details

Summary

Add the vendor macro to "lld" for extended version output support,
such that it's able to print additional version info. This is
consistent with the Clang and LLVM version printer, and the
additional version message can be provided via PACKAGE_VENDOR.

Diff Detail

Event Timeline

stevewan created this revision.Apr 28 2020, 10:21 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 28 2020, 10:21 AM
emaste added a subscriber: emaste.Apr 28 2020, 10:52 AM
stevewan updated this revision to Diff 260973.EditedApr 29 2020, 11:32 AM

Fix format with 'clang-format'.

Pushed a wrong commit, please ignore this diff.

stevewan updated this revision to Diff 260974.Apr 29 2020, 11:36 AM

Fix format with 'clang-format'.

This LGTM, but I'm not sure if people using PACKAGE_VENDOR for their builds are expecting this.

This revision is now accepted and ready to land.May 5 2020, 10:14 AM
This revision was automatically updated to reflect the committed changes.