LDC lto generate wrong dll export table

Test123 test123 at gmail.com
Sun May 22 19:54:33 UTC 2022


On Sunday, 22 May 2022 at 18:17:45 UTC, Test123 wrote:
> On Sunday, 22 May 2022 at 17:50:49 UTC, Test123 wrote:
>> Use ldc2 without LTO always give the same result like clang.
>>
>
> I find a workaround, use ldc --output-ll generate ll file, then 
> use clang build ll into object file with LTO, will fix the 
> problem.

Sadlly this will not work for a big project, cause some symbol 
not find problem. (not sure why)


I hope this can be fixed ASAP with the information I provide.

any suggestion will be much appreciated.


More information about the digitalmars-d-ldc mailing list