search for: addencodingcom

Displaying 1 result from an estimated 1 matches for "addencodingcom".

2013 Aug 19
1
[LLVMdev] Offset in MCFixup
....TargetOffset - "/// The bit offset to write the relocation into." So if the relocation starts at bit 20 (assuming that the leftmost bit is bit number 31) I'd say that MCFixup.Offset = 1 and MCFixupKindInfo.TargetOffset = 3 and this is somehow confirmed by the code in MCAsmStreamer::AddEncodingComment. All the relocation bits are correctly identified if I emit the encoding of an instruction. The other use of MCFixup.Offset is in MCELFStreamer::EmitInstToData and it looks like it uses MCFixup.Offset to calculate r_offset (Elf32) which is not what I was expecting because I get a slightly skew...