[examples] Skip building the Bye pass plugin on windows
authorMartin Storsjö <martin@martin.st>
Tue, 12 May 2020 08:54:51 +0000 (11:54 +0300)
committerMartin Storsjö <martin@martin.st>
Wed, 13 May 2020 10:40:56 +0000 (13:40 +0300)
commitf8972662bc3b39377374a5e7d8abe7b4a74ac573
tree9aa4b78b3b011788c08c08ce5f1a919918d96e09
parent855f0ce79bf3bdf34a390d1f5fd842a6aa79d5ef
[examples] Skip building the Bye pass plugin on windows

Windows doesn't properly support pass plugins (as a shared library
can't have undefined references, which pass plugins assume, being
loaded into a host process that contains provides them), thus
disable building it and the corresponding test.

This matches what was done for the passes unit test in
bc8e44218810c0db6328b9809c959ceb7d43e3f5.

Differential Revision: https://reviews.llvm.org/D79771
llvm/examples/Bye/CMakeLists.txt
llvm/test/CMakeLists.txt
llvm/test/Feature/load_extension.ll