[all-commits] [llvm/llvm-project] 122ebe: [ORC] Use EPC bootstrap symbols to communicate eh-...

lhames via All-commits all-commits at lists.llvm.org
Wed Aug 23 14:19:47 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 122ebe3b500190b1f408e2e6db753853e297ba28
      https://github.com/llvm/llvm-project/commit/122ebe3b500190b1f408e2e6db753853e297ba28
  Author: Lang Hames <lhames at gmail.com>
  Date:   2023-08-23 (Wed, 23 Aug 2023)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/EPCEHFrameRegistrar.h
    M llvm/lib/ExecutionEngine/Orc/EPCEHFrameRegistrar.cpp
    M llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp
    M llvm/lib/ExecutionEngine/Orc/Shared/OrcRTBridge.cpp
    M llvm/lib/ExecutionEngine/Orc/TargetProcess/SimpleRemoteEPCServer.cpp

  Log Message:
  -----------
  [ORC] Use EPC bootstrap symbols to communicate eh-frame registration fn addrs.

By using bootstrap symbols to communicate these addresseses, rather than dlsym
lookups, we no longer need them to be exported from the main executable. On ELF,
where symbols aren't exported from the main executable by default, this
eliminates a common source of missing symbol errors and allows for smaller
executables (if exports from the main executable aren't otherwise needed and
can be removed).




More information about the All-commits mailing list