Displaying 2 results from an estimated 2 matches for "stackmaprecord".
2015 Jul 09
5
[LLVMdev] [RFC] New StackMap format proposal (StackMap v2)
...> LLVM/statepoint GC does not support option (2), but the CoreCLR’s GC-table Encoding has an interface designed to suite both modes.
> void DefineCallSites(UINT32* pCallSites, BYTE* pCallSiteSizes, UINT32 numCallSites)
>
> Therefore, it is helpful to have Call-Site size specified in StackMapRecord.
> I agree with Andy, that the call-site size should include all bytes between the start of the call instruction and the start of the next instruction.
I suggested this because we want to support a dynamic callback that determines the patchpoint size (given the set of register arguments), and i...
2015 Jul 09
9
[LLVMdev] [RFC] New StackMap format proposal (StackMap v2)
...Registers
uint16 : Frame Register Index
uint16 : Num StackMap Records
uint16 : StackMap Record Index
}
align to 4 bytes
FrameRegister[] {
uint16 : Dwarf RegNum
int16 : Offset
uint8 : Size in Bytes
uint8 : Flags {
bool : IsSpilled
bool : Reserved [7]
}
}
align to 8 bytes
StackMapRecord[] {
uint64 : PatchPoint ID
uint32 : Instruction Offset
uint8 : Call size (bytes)
uint8 : Flags {
bool : HasLiveOutInfo
bool : Reserved [7]
}
uint16 : Num Locations
uint16 : Location Index
uint16 : Num LiveOuts
uint16 : LiveOut Index
}
align to 4 bytes
Location[] {
uin...