[llvm-dev] LLVM-C.dll in LLVM release 10 seem to be incomplete/missing export directory
David Major via llvm-dev
llvm-dev at lists.llvm.org
Fri Apr 3 05:54:03 PDT 2020
I suspect we took the wrong branch here
https://github.com/llvm/llvm-project/blob/ab411801b82783eb7f652701ccfce81b16cf1811/llvm/tools/llvm-shlib/CMakeLists.txt#L119-L124
because LLVM_HOST_TRIPLE might have been "i686-pc-windows-msvc" instead.
On Wed, Apr 1, 2020 at 6:14 PM Alexander Benikowski via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Just checked again. Only the x86 dll is broken. The x64 is fine.
>
> Am Mi., 1. Apr. 2020 um 23:19 Uhr schrieb Alexander Benikowski <
> sebal007 at googlemail.com>:
>
>> Hello,
>> I downloaded the LLVM 10 release for windows and noticed, that the
>> LLVM-C.dll for x86 has a size of 9kb, which seems strangely small.
>>
>> Both, the dll for x86 and x64, have no export directory. It is not
>> possible to link them statically to Delphi code or call GetProcAddress on
>> them.
>>
>> I do remember that this worked initially when
>> https://reviews.llvm.org/D56774 was done when compiling the dll using
>> cmake+vs on windows.
>>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200403/780f9b75/attachment.html>
More information about the llvm-dev
mailing list