[all-commits] [llvm/llvm-project] 2cd178: [orc-rt] Express CI symbols as C-level names (#222...

Lang Hames via All-commits all-commits at lists.llvm.org
Thu Sep 10 02:39:20 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2cd17898705456c546359b0683cbc6fb252698d9
      https://github.com/llvm/llvm-project/commit/2cd17898705456c546359b0683cbc6fb252698d9
  Author: Lang Hames <lhames at gmail.com>
  Date:   2026-09-10 (Thu, 10 Sep 2026)

  Changed paths:
    M orc-rt/include/orc-rt/bedrock/SimpleSymbolTable.h
    M orc-rt/include/orc-rt/bedrock/sps/CallSPSCI.h
    M orc-rt/include/orc-rt/bedrock/sps/GDBJITRegistrarSPSCI.h
    M orc-rt/include/orc-rt/bedrock/sps/MemoryAccessSPSCI.h
    M orc-rt/include/orc-rt/bedrock/sps/NativeDylibManagerSPSCI.h
    M orc-rt/include/orc-rt/bedrock/sps/SimpleNativeMemoryMapSPSCI.h
    M orc-rt/include/orc-rt/bedrock/sps/StandaloneMachOUnwindInfoRegistrarSPSCI.h
    M orc-rt/include/orc-rt/support/sps/SPSAllocAction.h
    M orc-rt/include/orc-rt/support/sps/SPSWrapperFunction.h
    M orc-rt/lib/bedrock/BootstrapInfo.cpp
    M orc-rt/lib/bedrock/NativeDylibManager.cpp
    M orc-rt/lib/bedrock/SimpleNativeMemoryMap.cpp
    M orc-rt/lib/bedrock/sps/CallSPSCI.cpp
    M orc-rt/lib/bedrock/sps/GDBJITRegistrarSPSCI.cpp
    M orc-rt/lib/bedrock/sps/MemoryAccessSPSCI.cpp
    M orc-rt/lib/bedrock/sps/NativeDylibManagerSPSCI.cpp
    M orc-rt/lib/bedrock/sps/SimpleNativeMemoryMapSPSCI.cpp
    M orc-rt/lib/bedrock/sps/StandaloneMachOUnwindInfoRegistrarSPSCI.cpp
    M orc-rt/test/unit/bedrock/BootstrapInfoTest.cpp
    M orc-rt/test/unit/bedrock/SessionTest.cpp
    M orc-rt/test/unit/bedrock/SimpleSymbolTableTest.cpp
    M orc-rt/test/unit/bedrock/sps/CallSPSCITest.cpp
    M orc-rt/test/unit/bedrock/sps/MemoryAccessSPSCITest.cpp
    M orc-rt/test/unit/bedrock/sps/NativeDylibManagerSPSCITest.cpp
    M orc-rt/test/unit/bedrock/sps/SimpleNativeMemoryMapSPSCITest.cpp
    M orc-rt/test/unit/bedrock/sps/SimpleRemoteCATest.cpp
    M orc-rt/test/unit/support/sps/SPSAllocActionTest.cpp
    M orc-rt/test/unit/support/sps/SPSWrapperFunctionTest.cpp

  Log Message:
  -----------
  [orc-rt] Express CI symbols as C-level names (#222564)

Controller-interface wrapper functions are now declared extern "C",
exported, and registered under their C-level names, so that they resolve
identically whether looked up through the bootstrap symbol map or via
dlsym.

In addition to removing the inconsistency between the symbol-table and
dlsym names, making CI functions public declarations allows unit tests
to call CI wrappers directly (rather than having to resigster them and
then look them up in a symbol table).

ORC_RT_SPS_WRAPPER and ORC_RT_SPS_ALLOC_ACTION each split into _DECL and
_IMPL forms sharing a _SIG macro, giving the wrappers extern "C" linkage
and an ORC_RT_C_EXPORT annotation.

SimpleSymbolTable::addUnique now takes SymbolNameSpec names and mangles
them, with a second overload for merging one table into another.



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