[LLVMdev] emitting function stub for mips16 floating point patch

Reed Kotler rkotler at mips.com
Tue Feb 4 13:22:05 PST 2014


On 02/04/2014 01:05 PM, Reed Kotler wrote:
> On 02/04/2014 09:58 AM, Rafael EspĂ­ndola wrote:
>>> .align
>>
>> So yes, EmitValueToAlignment.
>>
>> Cheers,
>> Rafael
>>
> One more:::
>
>
>    OutStreamer.EmitRawText("\t.size  __call_stub_fp_" + Twine(Symbol) +
>                            ", .-__call_stub_fp_" + Twine(Symbol));
>
> You have to make an expression????
>
> i.e.
>
> .size    __call_stub_fp___floatdidf, .-__call_stub_fp___floatdidf
>
>
> TIA.
>
> Reed
It seems like usually llvm is creating a temporary symbol to get ".".

tmp2$:

.size __call_stub_fp___floatdidf, (tmp2$)-__call_stub_fp___floatdidf




More information about the llvm-dev mailing list