[all-commits] [llvm/llvm-project] 0f286f: [ORC][MachO] Register objc protolist, protorefs, n...

Ben Langmuir via All-commits all-commits at lists.llvm.org
Tue Jun 11 16:53:03 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f286f8a3688250b1f4c263836827ad0e2467f82
      https://github.com/llvm/llvm-project/commit/0f286f8a3688250b1f4c263836827ad0e2467f82
  Author: Ben Langmuir <blangmuir at apple.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    A compiler-rt/test/orc/TestCases/Darwin/arm64/objc-nonlazy-class.S
    A compiler-rt/test/orc/TestCases/Darwin/arm64/objc-protocol-ref.S
    A compiler-rt/test/orc/TestCases/Darwin/arm64/objc-protocol.S
    A compiler-rt/test/orc/TestCases/Darwin/x86-64/objc-nonlazy-class.S
    A compiler-rt/test/orc/TestCases/Darwin/x86-64/objc-protocol-ref.S
    A compiler-rt/test/orc/TestCases/Darwin/x86-64/objc-protocol.S
    M llvm/include/llvm/ExecutionEngine/Orc/Shared/ObjectFormats.h
    M llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
    M llvm/lib/ExecutionEngine/Orc/Shared/ObjectFormats.cpp

  Log Message:
  -----------
  [ORC][MachO] Register objc protolist, protorefs, nlclslist metadata sections (#95144)

Add missing __DATA sections that the objc runtime expects to register.
This fixes running objc code that makes use of `@protocol` references
and `__attribute__((objc_nonlazy_class))` classes.

rdar://129368761



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list