projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
556600a
)
[examples] Add export_executable_symbols to HowToUseLLJIT example.
author
Lang Hames
<lhames@gmail.com>
Sun, 26 Mar 2023 18:27:54 +0000
(18:27 +0000)
committer
Lang Hames
<lhames@gmail.com>
Sun, 26 Mar 2023 18:27:54 +0000
(18:27 +0000)
LLJIT needs access to symbols (e.g. llvm_orc_registerEHFrameSectionWrapper)
that will be defined in the executable when LLVM is linked statically.
Should fix https://github.com/llvm/llvm-project/issues/61712.
llvm/examples/HowToUseLLJIT/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/llvm/examples/HowToUseLLJIT/CMakeLists.txt
b/llvm/examples/HowToUseLLJIT/CMakeLists.txt
index
77a8e8c
..
3ca99e5
100644
(file)
--- a/
llvm/examples/HowToUseLLJIT/CMakeLists.txt
+++ b/
llvm/examples/HowToUseLLJIT/CMakeLists.txt
@@
-8,3
+8,5
@@
set(LLVM_LINK_COMPONENTS
add_llvm_example(HowToUseLLJIT
HowToUseLLJIT.cpp
)
+
+export_executable_symbols(HowToUseLLJIT)