[all-commits] [llvm/llvm-project] ccdcfa: [mlir-cpu-runner] Add export_executable_symbols in...
Andrzej WarzyĆski via All-commits
all-commits at lists.llvm.org
Tue Mar 28 09:22:29 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ccdcfad0815296d8952438632d9abe6bc0a5258a
https://github.com/llvm/llvm-project/commit/ccdcfad0815296d8952438632d9abe6bc0a5258a
Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
Date: 2023-03-28 (Tue, 28 Mar 2023)
Changed paths:
M mlir/tools/mlir-cpu-runner/CMakeLists.txt
Log Message:
-----------
[mlir-cpu-runner] Add export_executable_symbols in CMake.
LLJIT needs access to symbols (e.g. llvm_orc_registerEHFrameSectionWrapper)
that will be defined in the executable when LLVM is linked statically.
This change is consistent with how other tools within LLVM use LLJIT. It
is required to make sure that `mlir-cpu-runner --host-supports-jit`
correctly returns `true` on platforms that do support JITting (in my
case that's AArch64 Linux).
See https://github.com/llvm/llvm-project/issues/61712 for more context.
Differential Revision: https://reviews.llvm.org/D146935
More information about the All-commits
mailing list