[all-commits] [llvm/llvm-project] 527377: [JITLink] Allow duplicate symbol names for locals

Ben Langmuir via All-commits all-commits at lists.llvm.org
Wed Nov 17 09:32:28 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5273773580f631f853ca43586d9912c000b473d4
      https://github.com/llvm/llvm-project/commit/5273773580f631f853ca43586d9912c000b473d4
  Author: Ben Langmuir <blangmuir at apple.com>
  Date:   2021-11-17 (Wed, 17 Nov 2021)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h
    A llvm/test/ExecutionEngine/JITLink/X86/MachO-duplicate-local.test

  Log Message:
  -----------
  [JITLink] Allow duplicate symbol names for locals

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

Differential Revision: https://reviews.llvm.org/D114042




More information about the All-commits mailing list