This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen][ObjC] Remove the leading 'l' from symbols for protocol metadata and protocol list
ClosedPublic

Authored by ahatanak on Mar 11 2019, 3:46 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

ahatanak created this revision.Mar 11 2019, 3:46 PM

There are other symbols that starts with 'l' and have private linkage. I haven't made any changes to those symbols in this patch, but I think it's possible to remove the leading 'l' from those symbols and change the linkage to internal if we want to keep the symbol names.

rjmccall accepted this revision.Mar 12 2019, 1:18 PM

Using internal linkage instead of private makes sense to me. Even if we wanted to use private linkage, it never made sense to be doing this with \01l instead of just setting the linkage properly. Maybe this was implemented before LLVM directly supported private linkage, but that hasn't been a constraint in 10+ years.

This revision is now accepted and ready to land.Mar 12 2019, 1:18 PM

Okay, I'll remove the leading 'l' from other symbols and make them internal in a separate patch.

This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptMar 14 2019, 8:17 AM