[llvm-shlib] Fix the i686 MSVC triple check for listing symbols to export in LLVM...
authorMartin Storsjö <martin@martin.st>
Thu, 9 Sep 2021 08:19:55 +0000 (08:19 +0000)
committerMartin Storsjö <martin@martin.st>
Sat, 11 Sep 2021 16:50:03 +0000 (19:50 +0300)
commit314b5a0efda75dcd195f1631333078de67be13c0
tree02f45394f401617f34145203d2740ec39b835b63
parent75e8eb2b10b15b027608adb0d3eaaefbd19e5993
[llvm-shlib] Fix the i686 MSVC triple check for listing symbols to export in LLVM-C.dll

https://reviews.llvm.org/D47381 / eb46c95c3e7aeba4d183ca614fe238067eddf97f
changed the triples set up by GetHostTriple.cmake for i686 MSVC
from i686-pc-win32 to i686-pc-windows-msvc without changing
the corresponding condition in llvm-shlib.

Since then, the 32 bit x86 build of LLVM-C.dll has contained no
exported symbols at all.

Differential Revision: https://reviews.llvm.org/D109493
llvm/tools/llvm-shlib/CMakeLists.txt