[all-commits] [llvm/llvm-project] a1fc26: [JITLink] Add a synchronous version of finalize fo...

lhames via All-commits all-commits at lists.llvm.org
Mon Jul 13 10:15:35 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a1fc26030a42e9639e678344a4c08014a8cbba3d
      https://github.com/llvm/llvm-project/commit/a1fc26030a42e9639e678344a4c08014a8cbba3d
  Author: Lang Hames <lhames at gmail.com>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/JITLink/JITLinkMemoryManager.h

  Log Message:
  -----------
  [JITLink] Add a synchronous version of finalize for convenience.

This will be used by upcoming patches that implement indirection utils
(reentry, reentry trampolines, and stubs) on top of
JITLinkMemoryManager to unify in-process and cross-process lazy
compilation support.


  Commit: fb7ef0bb0b9c6964387391a3e1759c0a3320df87
      https://github.com/llvm/llvm-project/commit/fb7ef0bb0b9c6964387391a3e1759c0a3320df87
  Author: Lang Hames <lhames at gmail.com>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h
    M llvm/include/llvm/ExecutionEngine/Orc/LazyReexports.h
    M llvm/include/llvm/ExecutionEngine/Orc/OrcABISupport.h
    M llvm/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h
    M llvm/lib/ExecutionEngine/Orc/OrcABISupport.cpp

  Log Message:
  -----------
  [ORC] Generalize emit re-entry, stub, etc. APIs for working addr != link addr.

This patch generalizes the APIs for writing re-entry blocks, trampolines and
stubs to allow their final linked address to differ from the address of
their initial working memory. This will allow these routines to be used with
JITLinkMemoryManagers, which will in turn allow for unification of code paths
for in-process and cross-process lazy JITing.


Compare: https://github.com/llvm/llvm-project/compare/83080a294ad7...fb7ef0bb0b9c


More information about the All-commits mailing list