Home
last modified time | relevance | path

Searched refs:cfi (Results 1 – 11 of 11) sorted by relevance

/tools/objtool/arch/loongarch/
A Dorc.c10 int init_orc_entry(struct orc_entry *orc, struct cfi_state *cfi, struct instruction *insn) in init_orc_entry() argument
12 struct cfi_reg *fp = &cfi->regs[CFI_FP]; in init_orc_entry()
13 struct cfi_reg *ra = &cfi->regs[CFI_RA]; in init_orc_entry()
17 if (!cfi) { in init_orc_entry()
27 switch (cfi->type) { in init_orc_entry()
44 ERROR_INSN(insn, "unknown unwind hint type %d", cfi->type); in init_orc_entry()
48 orc->signal = cfi->signal; in init_orc_entry()
50 switch (cfi->cfa.base) { in init_orc_entry()
58 ERROR_INSN(insn, "unknown CFA base reg %d", cfi->cfa.base); in init_orc_entry()
96 orc->sp_offset = cfi->cfa.offset; in init_orc_entry()
/tools/objtool/
A Dcheck.c375 sizeof(*cfi) - sizeof(cfi->hash), 0); in cfi_key()
2278 cfi = *(insn->cfi); in read_unwind_hints()
2289 insn->cfi = cfi_hash_find_or_add(&cfi); in read_unwind_hints()
2623 struct cfi_state *cfi = &state->cfi; in has_modified_stack_frame() local
2653 struct cfi_state *cfi = &state->cfi; in has_valid_stack_frame() local
3101 cfi->drap_offset = -cfi->stack_size; in update_cfi_state()
3630 insn->cfi = save_insn->cfi; in validate_branch()
3634 state.cfi = *insn->cfi; in validate_branch()
3639 insn->cfi = prev_insn->cfi; in validate_branch()
4171 cfi = cfi_hash_find_or_add(insn->cfi); in add_prefix_symbol()
[all …]
A Dorc_gen.c73 if (init_orc_entry(&orc, insn->cfi, insn)) in orc_create()
94 struct cfi_state *cfi = alt_group->cfi[i]; in orc_create() local
95 if (!cfi) in orc_create()
98 if (init_orc_entry(&orc, cfi, insn)) in orc_create()
A Dbuiltin-check.c89 …OPT_BOOLEAN(0 , "cfi", &opts.cfi, "annotate kernel control flow integrity (kCFI) function preambl…
/tools/objtool/arch/x86/
A Dorc.c10 int init_orc_entry(struct orc_entry *orc, struct cfi_state *cfi, struct instruction *insn) in init_orc_entry() argument
12 struct cfi_reg *bp = &cfi->regs[CFI_BP]; in init_orc_entry()
16 if (!cfi) { in init_orc_entry()
26 switch (cfi->type) { in init_orc_entry()
43 ERROR_INSN(insn, "unknown unwind hint type %d", cfi->type); in init_orc_entry()
47 orc->signal = cfi->signal; in init_orc_entry()
49 switch (cfi->cfa.base) { in init_orc_entry()
75 ERROR_INSN(insn, "unknown CFA base reg %d", cfi->cfa.base); in init_orc_entry()
94 orc->sp_offset = cfi->cfa.offset; in init_orc_entry()
/tools/perf/arch/powerpc/util/
A Dskip-callchain-idx.c101 Dwarf_CFI *cfi; in get_eh_frame() local
104 cfi = dwfl_module_eh_cfi(mod, &bias); in get_eh_frame()
105 if (!cfi) { in get_eh_frame()
110 result = dwarf_cfi_addrframe(cfi, pc-bias, &frame); in get_eh_frame()
124 Dwarf_CFI *cfi; in get_dwarf_frame() local
129 cfi = dwfl_module_dwarf_cfi(mod, &bias); in get_dwarf_frame()
130 if (!cfi) { in get_dwarf_frame()
135 result = dwarf_cfi_addrframe(cfi, pc-bias, &frame); in get_dwarf_frame()
/tools/build/feature/
A Dtest-libdw.c46 Dwarf_CFI *cfi = NULL; in test_elfutils() local
48 dwarf_cfi_end(cfi); in test_elfutils()
/tools/objtool/include/objtool/
A Dcheck.h14 struct cfi_state cfi; member
36 struct cfi_state **cfi; member
83 struct cfi_state *cfi; member
A Dorc.h7 int init_orc_entry(struct orc_entry *orc, struct cfi_state *cfi, struct instruction *insn);
A Dbuiltin.h28 bool cfi; member
/tools/perf/util/
A Ddwarf-aux.c1712 Dwarf_CFI *cfi; in die_get_cfa() local
1717 cfi = dwarf_getcfi(dwarf); in die_get_cfa()
1718 if (cfi == NULL) in die_get_cfa()
1721 if (!dwarf_cfi_addrframe(cfi, pc, &frame) && in die_get_cfa()

Completed in 25 milliseconds