Displaying 4 results from an estimated 4 matches for "emitelfsize".
2014 Feb 04
3
[LLVMdev] emitting function stub for mips16 floating point patch
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,
2010 Jul 16
0
[LLVMdev] Win32 COFF Support - Patch 3
...onSymbol(MCSymbol *Symbol, uint64_t Size,
> + unsigned ByteAlignment, bool External);
> +
> // MCStreamer interface
>
> virtual void EmitLabel(MCSymbol *Symbol);
> @@ -52,18 +79,18 @@ public:
> virtual void EndCOFFSymbolDef();
> virtual void EmitELFSize(MCSymbol *Symbol, const MCExpr *Value);
> virtual void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
> - unsigned ByteAlignment);
> + unsigned ByteAlignment);
> virtual void EmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t...
2010 Jul 14
2
[LLVMdev] Win32 COFF Support - Patch 3
On Sun, Jul 11, 2010 at 6:10 PM, Chris Lattner <clattner at apple.com> wrote:
> This probably needs to be slightly tweaked to work with mainline. I don't see anything objectionable, but I think Daniel needs to review this one.
Updated patch to work with mainline.
http://github.com/Bigcheese/llvm-mirror/commit/d19a4c82c18afc4830c09b70f02d162292231c94
- Michael Spencer
2011 Sep 17
0
[LLVMdev] Problem with Linux PPC64 assembly output.
...mpSymbol();
OutStreamer.EmitLabel(FnEndLabel);
const MCExpr *SizeExp =
MCBinaryExpr::CreateSub(MCSymbolRefExpr::Create(FnEndLabel, OutContext),
MCSymbolRefExpr::Create(CurrentFnSym,
OutContext),
OutContext);
OutStreamer.EmitELFSize(CurrentFnSym, SizeExp);
}
I've filed a bug for this: http://llvm.org/bugs/show_bug.cgi?id=10951
This looks a little tricky to fix since there is no easy hook that I can find to
override how the .size directive is output.
Anyone have any suggestions, or have I missed something?
-Rich