[all-commits] [llvm/llvm-project] 821105: [LLJIT] Generalize LLJITBuilder::ProcessSymbolsJIT...

lhames via All-commits all-commits at lists.llvm.org
Tue Aug 22 19:20:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8211050cb5fba8d4b1267f97c43ead2f2f2ef370
      https://github.com/llvm/llvm-project/commit/8211050cb5fba8d4b1267f97c43ead2f2f2ef370
  Author: Lang Hames <lhames at gmail.com>
  Date:   2023-08-22 (Tue, 22 Aug 2023)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h
    M llvm/lib/ExecutionEngine/Orc/LLJIT.cpp

  Log Message:
  -----------
  [LLJIT] Generalize LLJITBuilder::ProcessSymbolsJITDylibSetupFunction.

For many interesting process-symbols setups we need access to the LLJIT instance
(e.g. to mangle symbols, or inspect the process triple). This patch updates the
ProcessSymbolsJITDylibSetupFunction to take an LLJIT reference and return the
process symbols JITDylib, which the callback must now create.




More information about the All-commits mailing list