[LLVMdev] emitting function stub for mips16 floating point patch

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Feb 4 13:47:44 PST 2014


On 4 February 2014 16:05, Reed Kotler <rkotler at mips.com> 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

EmitELFSize takes a MCExpr, so yes.

Cheers,
Rafael




More information about the llvm-dev mailing list