Function dumpStackPointerAddr [src]

Prototype

pub fn dumpStackPointerAddr(prefix: []const u8) void

Parameters

prefix: []const u8

Source

pub fn dumpStackPointerAddr(prefix: []const u8) void { const sp = asm ("" : [argc] "={rsp}" (-> usize), ); print("{s} sp = 0x{x}\n", .{ prefix, sp }); }