[all-commits] [llvm/llvm-project] 4fde84: [ORC] Set ResolverBlockAddr in EPCIndirectionUtils...

Timm Bäder via All-commits all-commits at lists.llvm.org
Wed Mar 2 13:01:37 PST 2022


  Branch: refs/heads/release/14.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 4fde843cd5c08c16f15d11308bdefc7bd2af0302
      https://github.com/llvm/llvm-project/commit/4fde843cd5c08c16f15d11308bdefc7bd2af0302
  Author: Lang Hames <lhames at gmail.com>
  Date:   2022-03-02 (Wed, 02 Mar 2022)

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

  Log Message:
  -----------
  [ORC] Set ResolverBlockAddr in EPCIndirectionUtils::writeResolverBlock.

Without this, EPCIndirectionUtils::getResolverBlockAddr (and lazy compilation
via EPC) won't work.

No test case: lli is still using LocalLazyCallThroughManager. I'll revisit this
soon when I look at adding lazy compilation support to the ORC runtime.

(cherry picked from commit 34e539dcd78ab828210ecf7f7d2e9d2c986511b3)


  Commit: 6d5afef3a7e6c2c9cc3bdb79e9d0fc88345e0e51
      https://github.com/llvm/llvm-project/commit/6d5afef3a7e6c2c9cc3bdb79e9d0fc88345e0e51
  Author: Lang Hames <lhames at gmail.com>
  Date:   2022-03-02 (Wed, 02 Mar 2022)

  Changed paths:
    M llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h

  Log Message:
  -----------
  [examples][BuildingAJIT] Use the right layer when adding code in Chapter 3.

We were incorrectly using the OptimizeLayer and bypassing the COD layer.

(cherry picked from commit 1e16272ba793e5a6e7308898ecf6ef0dc99e2ad3)


  Commit: f1e7f848bf3e84906fda52975dbcfc6825710987
      https://github.com/llvm/llvm-project/commit/f1e7f848bf3e84906fda52975dbcfc6825710987
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2022-03-02 (Wed, 02 Mar 2022)

  Changed paths:
    M clang/test/Driver/ve-toolchain.c
    M clang/test/Driver/ve-toolchain.cpp

  Log Message:
  -----------
  [clang][tests] Fix ve-toolchain tests with CLANG_DEFAULT_UNWINDLIB

Otherwise, the driver will insert e.g. -lgcc_s when
CLANG_DEFAULT_UNWINDLIB=libgcc is set during the clang build.

Differential Revision: https://reviews.llvm.org/D120644

(cherry picked from commit 12d3679256c9a544699f9894c16c2918da17e4af)


Compare: https://github.com/llvm/llvm-project/compare/a98c04d58930...f1e7f848bf3e


More information about the All-commits mailing list