Linux Perf
dwarf-regs.c File Reference
#include <stddef.h>
#include <dwarf-regs.h>
Include dependency graph for dwarf-regs.c:

Go to the source code of this file.

Macros

#define SH_MAX_REGS   18
 

Functions

const char * get_arch_regstr (unsigned int n)
 

Variables

const char * sh_regs_table [SH_MAX_REGS]
 

Macro Definition Documentation

◆ SH_MAX_REGS

#define SH_MAX_REGS   18

Definition at line 29 of file dwarf-regs.c.

Function Documentation

◆ get_arch_regstr()

const char* get_arch_regstr ( unsigned int  n)

Definition at line 52 of file dwarf-regs.c.

Variable Documentation

◆ sh_regs_table

const char* sh_regs_table[SH_MAX_REGS]
Initial value:
= {
"r0",
"r1",
"r2",
"r3",
"r4",
"r5",
"r6",
"r7",
"r8",
"r9",
"r10",
"r11",
"r12",
"r13",
"r14",
"r15",
"pc",
"pr",
}

Definition at line 30 of file dwarf-regs.c.