Where do built plugins lay?

Hi!

I recently tried to commit https://reviews.llvm.org/D59464, but reverted it after buitbots failing to find the added plugins. I really don’t know how to fix this, does anyone have experience with plugins? The patch looks fine locally.

http://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-incremental/61216/
http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/builds/48379
http://lab.llvm.org:8011/builders/clang-cmake-x86_64-sde-avx512-linux/builds/22302
http://lab.llvm.org:8011/builders/clang-atom-d525-fedora-rel/builds/24297
http://lab.llvm.org:8011/builders/ppc64le-lld-multistage-test/builds/3390
http://lab.llvm.org:8011/builders/reverse-iteration/builds/12383
http://lab.llvm.org:8011/builders/clang-with-thin-lto-ubuntu/builds/16921
etc etc…

Cheers,
Kristóf

I suspect that the plugin is not found because it isn’t being built.

Eg., in this build log

there are mentions of other plugins (PrintFunctionNames, AnnotateFunctions) but not of SampleAnalyzerPlugin. Not sure if this helps :slight_smile:

Yup, it does! Turns out check-clang-analysis works fine every time, but check-all doesn’t build it.