From 4c11ff99f372f1d747d7c14cd72c8e60b403a25c Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Mon, 10 Jun 2024 18:37:08 +0200 Subject: [PATCH] [clang-repl] Always do export_executable_symbols_for_plugins(clang-repl) It's needed to make clang-repl work in -DCLANG_PLUGIN_SUPPORT=OFF configured builds (at least on mac). See discussion on https://github.com/llvm/llvm-project/pull/89811 --- clang/tools/clang-repl/CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/clang/tools/clang-repl/CMakeLists.txt b/clang/tools/clang-repl/CMakeLists.txt index 4017b1445da0f4..42618e4e31cb0a 100644 --- a/clang/tools/clang-repl/CMakeLists.txt +++ b/clang/tools/clang-repl/CMakeLists.txt @@ -61,10 +61,7 @@ clang_target_link_libraries(clang-repl PRIVATE clangInterpreter ) -# Support plugins. -if(CLANG_PLUGIN_SUPPORT) - export_executable_symbols_for_plugins(clang-repl) -endif() +export_executable_symbols_for_plugins(clang-repl) # The clang-repl binary can get huge with static linking in debug mode. # Some 32-bit targets use PLT slots with limited branch range by default and we