[llvm] 8f96be9 - [bugpoint] Fix bugpoint for LLVM_ENABLE_EXPORTED_SYMBOLS_IN_EXECUTABLES=Off.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 29 00:07:23 PDT 2024
Author: Lang Hames
Date: 2024-08-29T16:57:37+10:00
New Revision: 8f96be921c1a97594ee94c2789cee9b131525f63
URL: https://github.com/llvm/llvm-project/commit/8f96be921c1a97594ee94c2789cee9b131525f63
DIFF: https://github.com/llvm/llvm-project/commit/8f96be921c1a97594ee94c2789cee9b131525f63.diff
LOG: [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.
Added:
Modified:
llvm/tools/bugpoint/CMakeLists.txt
Removed:
################################################################################
diff --git a/llvm/tools/bugpoint/CMakeLists.txt b/llvm/tools/bugpoint/CMakeLists.txt
index b0e71910c7cc38..3c42af115b17a9 100644
--- a/llvm/tools/bugpoint/CMakeLists.txt
+++ b/llvm/tools/bugpoint/CMakeLists.txt
@@ -37,5 +37,6 @@ add_llvm_tool(bugpoint
DEPENDS
intrinsics_gen
SUPPORT_PLUGINS
+
+ EXPORT_SYMBOLS
)
-export_executable_symbols_for_plugins(bugpoint)
More information about the llvm-commits
mailing list