aboutsummaryrefslogtreecommitdiff
path: root/clang/tools
diff options
context:
space:
mode:
authorHans Wennborg <hans@chromium.org>2024-06-10 18:37:08 +0200
committerHans Wennborg <hans@chromium.org>2024-06-10 18:43:58 +0200
commita30ef38cd455d500680fea8afdc824b4983fa981 (patch)
treea64d356f9b8c83b4dfc9cb42a179ca186091558f /clang/tools
parent1b21b9728e3855cc2382cc206da2fd58cdb1313d (diff)
downloadllvm-a30ef38cd455d500680fea8afdc824b4983fa981.zip
llvm-a30ef38cd455d500680fea8afdc824b4983fa981.tar.gz
llvm-a30ef38cd455d500680fea8afdc824b4983fa981.tar.bz2
[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
Diffstat (limited to 'clang/tools')
-rw-r--r--clang/tools/clang-repl/CMakeLists.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/clang/tools/clang-repl/CMakeLists.txt b/clang/tools/clang-repl/CMakeLists.txt
index 4017b14..42618e4 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