[examples] Add export_executable_symbols to HowToUseLLJIT example.
authorLang Hames <lhames@gmail.com>
Sun, 26 Mar 2023 18:27:54 +0000 (18:27 +0000)
committerLang Hames <lhames@gmail.com>
Sun, 26 Mar 2023 18:27:54 +0000 (18:27 +0000)
commit2ad8e6e082e254e5560c1c04b20a9904429d8bf0
tree238011c308b0bb58131339d56cd20a94a2188ffb
parent556600af6a8a7f241277f7a22c3e3746e7b09123
[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.
llvm/examples/HowToUseLLJIT/CMakeLists.txt