[all-commits] [llvm/llvm-project] 2a739f: [ORC][ORC-RT] Register type metadata from __swift5...

Ben Langmuir via All-commits all-commits at lists.llvm.org
Fri Nov 12 16:40:13 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a739f2789c3549aec3d77807e452dc22e4ef9f9
      https://github.com/llvm/llvm-project/commit/2a739f2789c3549aec3d77807e452dc22e4ef9f9
  Author: Ben Langmuir <blangmuir at apple.com>
  Date:   2021-11-12 (Fri, 12 Nov 2021)

  Changed paths:
    M compiler-rt/lib/orc/macho_platform.cpp
    M compiler-rt/test/lit.common.cfg.py
    A compiler-rt/test/orc/TestCases/Darwin/x86-64/trivial-swift-types-section.S
    M llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
    M llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp

  Log Message:
  -----------
  [ORC][ORC-RT] Register type metadata from __swift5_types MachO section

Similar to how the other swift sections are registered by the ORC
runtime's macho platform, add the __swift5_types section, which contains
type metadata. Add a simple test that demonstrates that the swift
runtime recognized the registered types.

rdar://85358530

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




More information about the All-commits mailing list