Skip to content

Commit

Permalink
[clang-repl] Always do export_executable_symbols_for_plugins(clang-repl)
Browse files Browse the repository at this point in the history
It's needed to make clang-repl work in -DCLANG_PLUGIN_SUPPORT=OFF
configured builds (at least on mac). See discussion on
llvm#89811
  • Loading branch information
zmodem authored and Lukacma committed Jun 12, 2024
1 parent b1ed798 commit 4c11ff9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions clang/tools/clang-repl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4c11ff9

Please sign in to comment.