[PATCH] D114042: [JITLink] Allow duplicate symbol names for locals

Ben Langmuir via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 16 16:19:18 PST 2021


benlangmuir created this revision.
benlangmuir added a reviewer: lhames.
benlangmuir requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D114042

Files:
  llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h
  llvm/test/ExecutionEngine/JITLink/X86/MachO-duplicate-local.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114042.387782.patch
Type: text/x-patch
Size: 4789 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211117/464a38da/attachment.bin>


More information about the llvm-commits mailing list