Symbols for MIPS Architectures

(0x1010) Local Procedure Start MIPS

The symbol records define local (file static) procedure definition. For C/C++, functions that are declared static to a module are emitted as Local Procedure symbols.

2

2

4

4

4

4

4

length

symbol

pParent

pEnd

pNext

length

debug start

->


4

4

4

4

4

debug end

int save mask

fp save mask

int save offset

fp save offset

->


4

4

2

1

1

*

@proctype

offset

seg

retreg

frame pointer reg

name


symbol S_LPROCMIPS or S_GPROCMIPS

pParent See the section on lexical scope linking

pEnd See the section on lexical scope linking

pNext See the section on lexical scope linking

length Length in bytes of this procedure

debug start Offset in bytes from the start of the procedure to the point where the stack frame has been set up. Parameter and frame variables can be viewed at this point.

debug end Offset in bytes from the start of the procedure to the point where the procedure is ready to return and has calculated its return value, if any. Frame and register variables can still be viewed. If the procedure has multiple exits, then this field is zero.

int save mask Integer register save mask

fp save mask Floating point register save mask

int save offset Offset from sp to the integer register save area

fp save offset Offset from sp to the floating point register save area

@proctype Type index of the procedure type record

offset Offset portion of the address of the start of the procedure

segment Segment portion of the address of the start of the procedure

retreg Index of the register that contains the return address. If this register is 31 and the integer register save mask indicates that the register has been saved, then the return address is in the integer register save area.

framepointer Frame pointer register if not zero

name Length prefixed name of procedure

(0x1011) Global Procedure Start MIPS

This symbol is used for procedures that are not specifically declared static to a module. The format is the same as the Local Procedure Start 16:32 symbol (see above.)