[all-commits] [llvm/llvm-project] a5e7d1: [gn build] Pass -Wl, --export-dynamic for clang-repl

aeubanks via All-commits all-commits at lists.llvm.org
Fri Aug 25 11:28:57 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a5e7d166be7f169b3515beb8508d5e1713551847
      https://github.com/llvm/llvm-project/commit/a5e7d166be7f169b3515beb8508d5e1713551847
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2023-08-25 (Fri, 25 Aug 2023)

  Changed paths:
    M llvm/utils/gn/secondary/clang/tools/clang-repl/BUILD.gn

  Log Message:
  -----------
  [gn build] Pass -Wl,--export-dynamic for clang-repl

Fixes some clang-repl tests failing with
  error: Symbols not found: [ llvm_orc_registerJITLoaderGDBWrapper ]

Mirrors export_executable_symbols_for_plugins in CMake.  Other binaries
also use export_executable_symbols_for_plugins, but testing-wise it
seems like it's only necessary for clang-repl, so limit it to clang-repl
for now.




More information about the All-commits mailing list