Displaying 3 results from an estimated 3 matches for "emitxxx".
Did you mean:
emitrax
2010 May 04
2
[LLVMdev] MCStreamer itnerface
....
Section assignment should be the responsiblity of the object imlementing the
MCStreamer interface, with the caller givin the ability to give hints as to
what section to place the symbol into.
instead of SwitchSection, there would be BeginSymbol, and SymbolSymbol, it
would
be illegal to call any EmitXXX function outside of these two calls
BeginSymbol(Symbol, SectionHint)
EmitAttribute(...)
EmitAttribute(...)
...
StartFragmentEmission()
EmitFragment(...)
EmitFragment(...)
...
EndSymbol()
Object file writers would typically start recording fragments and attributes
for
a symbol on the B...
2010 May 05
3
[LLVMdev] MCStreamer interface
...this.
The important point here is that the COFF MCSection needs to have the right level of semantic information. In fact, MCSection is the place that I'd start for COFF bringup.
> instead of SwitchSection, there would be BeginSymbol, and SymbolSymbol, it would
> be illegal to call any EmitXXX function outside of these two calls
>
> BeginSymbol(Symbol, SectionHint)
> EmitAttribute(...)
> EmitAttribute(...)
> ...
> StartFragmentEmission()
> EmitFragment(...)
> EmitFragment(...)
> ...
> EndSymbol()
>
> Object file writers would typically st...
2010 May 05
0
[LLVMdev] MCStreamer interface
...due
to my lack of understanding. I guess MCSectionXXX was meant to provide
communication between them. Should the same be true of MCSymbol, and their
data counterparts?
> > instead of SwitchSection, there would be BeginSymbol, and SymbolSymbol,
> it would
> > be illegal to call any EmitXXX function outside of these two calls
> >
> > BeginSymbol(Symbol, SectionHint)
> > EmitAttribute(...)
> > EmitAttribute(...)
> > ...
> > StartFragmentEmission()
> > EmitFragment(...)
> > EmitFragment(...)
> > ...
> > EndSymbol()...