[all-commits] [llvm/llvm-project] e15798: [lli] Add Orc greedy mode as -jit-kind=orc

Stefan Gränitz via All-commits all-commits at lists.llvm.org
Thu Mar 18 15:19:31 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e1579894d2051db8144f484135208c778c7055e5
      https://github.com/llvm/llvm-project/commit/e1579894d2051db8144f484135208c778c7055e5
  Author: Stefan Gränitz <stefan.graenitz at gmail.com>
  Date:   2021-03-18 (Thu, 18 Mar 2021)

  Changed paths:
    M llvm/tools/lli/lli.cpp

  Log Message:
  -----------
  [lli] Add Orc greedy mode as -jit-kind=orc

In the existing OrcLazy mode, modules go through partitioning and outgoing calls are replaced by reexport stubs that resolve on call-through. In greedy mode that this patch unlocks for lli, modules materialize as a whole and trigger materialization for all required symbols recursively. This is useful for testing (e.g. D98785) and it's more similar to the way MCJIT works.




More information about the All-commits mailing list