[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:
Lang Hames 2023-03-26 18:27:54 +00:00
parent 556600af6a
commit 2ad8e6e082

View File

@ -8,3 +8,5 @@ set(LLVM_LINK_COMPONENTS
add_llvm_example(HowToUseLLJIT
HowToUseLLJIT.cpp
)
export_executable_symbols(HowToUseLLJIT)