This is an archive of the discontinued LLVM Phabricator instance.

[JITLink] Allow duplicate symbol names for locals
ClosedPublic

Authored by benlangmuir on Nov 16 2021, 4:19 PM.

Details

Summary

Local symbols can have the same name. I ran into this with JITLink
while working with an object file that had been run through strip -S
that had many "func.eh" symbols, but it can also happen using ld -r.

rdar://85352156

Diff Detail

Event Timeline

benlangmuir requested review of this revision.Nov 16 2021, 4:19 PM
benlangmuir created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptNov 16 2021, 4:19 PM
lhames accepted this revision.Nov 16 2021, 5:02 PM

LGTM. Thanks Ben!

This revision is now accepted and ready to land.Nov 16 2021, 5:02 PM
This revision was automatically updated to reflect the committed changes.