This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt] Simplify ALIAS() attribute macro
ClosedPublic

Authored by melver on May 23 2023, 7:54 AM.

Details

Summary

Most uses of ALIAS() are in conjunction with WRAPPER_NAME().

Simplify the code and just make ALIAS() turn its argument into a string
(similar to Linux kernel's __alias macro). This in turn allows removing
WRAPPER_NAME().

NFC.

Diff Detail

Event Timeline

melver created this revision.May 23 2023, 7:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 23 2023, 7:54 AM
melver requested review of this revision.May 23 2023, 7:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 23 2023, 7:54 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
dvyukov accepted this revision.May 23 2023, 7:59 AM
This revision is now accepted and ready to land.May 23 2023, 7:59 AM
This revision was landed with ongoing or failed builds.May 24 2023, 2:58 AM
This revision was automatically updated to reflect the committed changes.