This change makes is impossible to build plugins and test
them in the common case when doing a normal build and
BUILD_SHARED_LIBS and LLVM_BUILD_LLVM_DYLIB are both OFF, e.g., the
buildbots.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 32162 Build 32161: arc lint + arc unit
Event Timeline
Comment Actions
With this change, we're seeing failing tests in Clang:
error: 'error' diagnostics seen but not expected: (frontend): unable to load plugin './lib/SampleAnalyzerPlugin.so': './lib/SampleAnalyzerPlugin.so: undefined symbol: _ZN4llvm14FoldingSetBase6anchorEv'
I have a slightly larger patch that seems to address that and it also contains this one but I'm not sure if it's the right approach.
If we're going to land this change, then I'd argue for reverting D59464 as well.