MCPcopy Create free account
hub / github.com/ZDoom/Raze / WriteRegisterStackLocation

Function WriteRegisterStackLocation

source/common/scripting/jit/jit_runtime.cpp:484–488  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

482}
483
484static void WriteRegisterStackLocation(TArray<uint8_t> &instructions, int dwarfRegId, int stackLocation)
485{
486 WriteUInt8(instructions, (2 << 6) | dwarfRegId); // DW_CFA_offset
487 WriteULEB128(instructions, stackLocation);
488}
489
490static TArray<uint8_t> CreateUnwindInfoUnix(asmjit::CCFunc *func, unsigned int &functionStart)
491{

Callers 1

CreateUnwindInfoUnixFunction · 0.85

Calls 2

WriteUInt8Function · 0.85
WriteULEB128Function · 0.85

Tested by

no test coverage detected