mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-29 15:36:07 +00:00
[examples] Add export_executable_symbols to HowToUseLLJIT example.
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.
This commit is contained in:
parent
556600af6a
commit
2ad8e6e082
@ -8,3 +8,5 @@ set(LLVM_LINK_COMPONENTS
|
|||||||
add_llvm_example(HowToUseLLJIT
|
add_llvm_example(HowToUseLLJIT
|
||||||
HowToUseLLJIT.cpp
|
HowToUseLLJIT.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
export_executable_symbols(HowToUseLLJIT)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user