Additionally, ensure there is no undefined references while linking the plugin to LLVM (--no-undefined).
This attempts to fix issue seen in https://github.com/CHIP-SPV/chipStar/pull/570 where the plugin loaded by statically built opt tool does not provide the symbols needed by the plugin.
Additionally, ensure there is no undefined references while linking the plugin to LLVM (
--no-undefined
).This attempts to fix issue seen in https://github.com/CHIP-SPV/chipStar/pull/570 where the plugin loaded by statically built opt tool does not provide the symbols needed by the plugin.