[llvm-dev] LLVM gold plugin do not add llvm instrinsics symbols to the linker symbol table

Bakhvalov, Denis via llvm-dev llvm-dev at lists.llvm.org
Mon Mar 26 00:41:12 PDT 2018


> I'm trying to understand how the non-LTO case is supposed to work
non-LTO case works because when linker starts it’s job all the llvm intrinsics are already lowered.

> Right, which is why I am suggesting that it might be appropriate to build with -fno-builtin (or -fno-builtin-exp) here –
> this solves the LTO issue as there will no longer be an llvm intrinsic in the bitcode
Yes, I just tested it and -fno-builtin helps in this case. I added definition of __exp_finite to libexp.a and now it was resolved from libexp.a (because no llvm intrinsics).

Best regards,
Denis Bakhvalov.
--------------------------------------------------------------------

Intel Technology Poland sp. z o.o.
ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydzial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-316 | Kapital zakladowy 200.000 PLN.

Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata i moze zawierac informacje poufne. W razie przypadkowego otrzymania tej wiadomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiekolwiek
przegladanie lub rozpowszechnianie jest zabronione.
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by
others is strictly prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180326/5b6f015a/attachment.html>


More information about the llvm-dev mailing list