Displaying 2 results from an estimated 2 matches for "__memset_opt".
2020 Aug 28
2
EmitTargetCodeForMemSet & LTO issue
...constraints.
I am able to choose the proper one in the "EmitTargetCodeForMemSet" method
that I implemented for my backend.
My issue is when I am compiling with the LTO optimisation, the linker tells
me that the optimized memset symbol is undefined ("*ld.lld: error:
undefined symbol: __memset_opt*"). I've looked into theLTO archive used and
I found both memset functions.
It feels like when the compiler gets in "EmitTargetCodeForMemSet", it has
already forgotten about the optimized memset function that was in the
archive because it was not used initially.
Any idea why?...
2020 Aug 31
2
EmitTargetCodeForMemSet & LTO issue
...one in the "EmitTargetCodeForMemSet"
>> method that I implemented for my backend.
>>
>> My issue is when I am compiling with the LTO optimisation, the linker
>> tells me that the optimized memset symbol is undefined ("*ld.lld: error:
>> undefined symbol: __memset_opt*"). I've looked into theLTO archive used
>> and I found both memset functions.
>>
>> It feels like when the compiler gets in "EmitTargetCodeForMemSet", it has
>> already forgotten about the optimized memset function that was in the
>> archive because...