[PATCH] D35258: [Plugins] Add a slim plugin API to work together with the new PM
Mikhail Maltsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 17 09:09:06 PDT 2018
miyuki added a comment.
The PluginsTest test is failing in our builds:
/work/llvm/src/unittests/Passes/PluginsTest.cpp:42: Failure
Value of: !!Plugin
Actual: false
Expected: true
Plugin path: /work/llvm/build/unittests/Passes/TestPlugin.so
Expected<T> must be checked before access or destruction.
Unchecked Expected<T> contained error:
Could not load library '/work/llvm/build/unittests/Passes/TestPlugin.so': /work/llvm/build/unittests/Passes/TestPlugin.so: undefined symbol: _ZN4llvm23EnableABIBreakingChecksE
This is probably related to the fact that we use `-DLLVM_EXPORT_SYMBOLS_FOR_PLUGINS=ON`. The host platform is x86_64-linux. Could you please check, if the test is supposed to work in such configuration.
Repository:
rL LLVM
https://reviews.llvm.org/D35258
More information about the llvm-commits
mailing list