[PATCH] D77704: [gold] Add support for loading pass plugins
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 15 12:39:47 PDT 2020
efriedma added inline comments.
================
Comment at: llvm/tools/gold/CMakeLists.txt:1
set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/gold.exports)
----------------
Oh, duh, I just realized the problem with the symbol exports. The LLVM_EXPORTED_SYMBOL_FILE line suppresses exporting all the symbols pass plugins would normally use.
(And I should have realized export_executable_symbols_for_plugins shouldn't be necessary for a shared library: shared libraries export all symbols by default.)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77704/new/
https://reviews.llvm.org/D77704
More information about the llvm-commits
mailing list