Displaying 1 result from an estimated 1 matches for "p3_".
Did you mean:
p3
2015 Jan 04
3
[LLVMdev] Writing my own debugger... use __builtin_frame_address or is there something better?
...send them via a socket/TCP-connection... to my debugger.
However... I've fooled around with __builtin_frame_address and... I can't figure out how to properly use it.
int* FA1 = (int*)__builtin_frame_address(1);
int P0_ = FA1[0];
int P1_ = FA1[1];
int P2_ = FA1[2];
int P3_ = FA1[3];
Something like this... but NONE of these int variables contain the actual pointers stored in the calling function!
I'm looking for the value "Type2* Value = 0x25b1160"
But I just see values like this:
P0_ int 0xbffff758 0xbffff758
P1_ int 0x00008ec3 0x00008ec3
P2_ int 0...