[all-commits] [llvm/llvm-project] 81cb43: [ORC][MachOPlatform] Don't add InitSectionSymbols ...

lhames via All-commits all-commits at lists.llvm.org
Fri May 5 00:52:48 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 81cb43f44d353196718f745956769db20c2fde99
      https://github.com/llvm/llvm-project/commit/81cb43f44d353196718f745956769db20c2fde99
  Author: Lang Hames <lhames at gmail.com>
  Date:   2023-05-05 (Fri, 05 May 2023)

  Changed paths:
    A compiler-rt/test/orc/TestCases/Darwin/arm64/Inputs/objc-Foo-foo-class-method.S
    A compiler-rt/test/orc/TestCases/Darwin/arm64/objc-cross-file-method-call.S
    M llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp

  Log Message:
  -----------
  [ORC][MachOPlatform] Don't add InitSectionSymbols for __objc_imageinfo.

The __objc_imageinfo section may be deleted (leaving dangling references to any
symbols that it contains), and shouldn't have any dependencies anyway. This
patch verifies that the section has no dependencies and then skips the section.

rdar://108469243




More information about the All-commits mailing list