search for: getentrykind

Displaying 7 results from an estimated 7 matches for "getentrykind".

2011 Nov 15
2
[LLVMdev] MCELFStreamer subclassing
...for direct object output I got the error stemming from MCStreamer. Since we are using MCELFStreamer, my assumption (possibly/probably wrong) was that we needed to subclass MCELFStreamer to somehow set the magic flag so that the relocation get generated. in AsmPrinter::EmitJumpTableEntry, MJTI->getEntryKind() is of type EK_GPRel32BlockAddress. Any insight is appreciated. I am rereading the llvm documentation. Right now it is magic to me and need to have the magic turn into knowledge. Thanks, Jack ________________________________________ From: Jim Grosbach [grosbach at apple.com] Sent: Tuesday, Nove...
2011 Nov 15
0
[LLVMdev] MCELFStreamer subclassing
...tput I got the error stemming from MCStreamer. > > Since we are using MCELFStreamer, my assumption (possibly/probably wrong) was that we needed to subclass MCELFStreamer to somehow set the magic flag so that the relocation get generated. > > in AsmPrinter::EmitJumpTableEntry, MJTI->getEntryKind() is of type EK_GPRel32BlockAddress. > > Any insight is appreciated. I am rereading the llvm documentation. Right now it is magic to me and need to have the magic turn into knowledge. > > Thanks, > > Jack > ________________________________________ > From: Jim Grosbach [gr...
2011 Nov 15
2
[LLVMdev] MCELFStreamer subclassing
...output I got the error stemming from MCStreamer. > > Since we are using MCELFStreamer, my assumption (possibly/probably wrong) was that we needed to subclass MCELFStreamer to somehow set the magic flag so that the relocation get generated. > > in AsmPrinter::EmitJumpTableEntry, MJTI->getEntryKind() is of type EK_GPRel32BlockAddress. > > Any insight is appreciated. I am rereading the llvm documentation. Right now it is magic to me and need to have the magic turn into knowledge. > > Thanks, > > Jack > ________________________________________ > From: Jim Grosbach [grosb...
2011 Nov 15
0
[LLVMdev] MCELFStreamer subclassing
...rror stemming from MCStreamer. >> >> Since we are using MCELFStreamer, my assumption (possibly/probably wrong) was that we needed to subclass MCELFStreamer to somehow set the magic flag so that the relocation get generated. >> >> in AsmPrinter::EmitJumpTableEntry, MJTI->getEntryKind() is of type EK_GPRel32BlockAddress. >> >> Any insight is appreciated. I am rereading the llvm documentation. Right now it is magic to me and need to have the magic turn into knowledge. >> >> Thanks, >> >> Jack >> ________________________________________...
2011 Nov 15
0
[LLVMdev] MCELFStreamer subclassing
Hi Jack, Can you elaborate a bit on what you're trying to do? Relocations are handled by the ObjectWriter interfaces, not by the streamer. The <ObjectFormat>Streamer classes aren't intended to be subclassed by targets. -Jim On Nov 14, 2011, at 5:50 PM, Carter, Jack wrote: > I need to create a subclass that derives from MCELFStreamer. > > We use MCELFStreamer for direct
2011 Nov 15
2
[LLVMdev] MCELFStreamer subclassing
I need to create a subclass that derives from MCELFStreamer. We use MCELFStreamer for direct object generation and need to override a virtual method in the base class MCStreamer::EmitGPRel32Value(). I have been having trouble creating the subclass due to #include issues. I can't seem to get it right at the lib/target/<my target>/MCTargetDesc level. My first thought is always that I am
2011 Nov 15
2
[LLVMdev] MCELFStreamer subclassing
...from MCStreamer. >>> >>> Since we are using MCELFStreamer, my assumption (possibly/probably wrong) was that we needed to subclass MCELFStreamer to somehow set the magic flag so that the relocation get generated. >>> >>> in AsmPrinter::EmitJumpTableEntry, MJTI->getEntryKind() is of type EK_GPRel32BlockAddress. >>> >>> Any insight is appreciated. I am rereading the llvm documentation. Right now it is magic to me and need to have the magic turn into knowledge. >>> >>> Thanks, >>> >>> Jack >>> _______________...