[bugpoint] Fix bugpoint for LLVM_ENABLE_EXPORTED_SYMBOLS_IN_EXECUTABLES=Off.

Building with -DLLVM_ENABLE_EXPORTED_SYMBOLS_IN_EXECUTABLES=Off should not
prevent use of bugpoint plugins.

This fix uses the approach implemented in
https://github.com/llvm/llvm-project/pull/101741.
This commit is contained in:
Lang Hames 2024-08-29 16:57:37 +10:00
parent 3b64ede096
commit 8f96be921c

View File

@ -37,5 +37,6 @@ add_llvm_tool(bugpoint
DEPENDS
intrinsics_gen
SUPPORT_PLUGINS
EXPORT_SYMBOLS
)
export_executable_symbols_for_plugins(bugpoint)