GCC Middle and Back End API Reference
cfa_loc Struct Reference

#include <dwarf2out.h>

Data Fields

HOST_WIDE_INT offset
HOST_WIDE_INT base_offset
unsigned int reg
BOOL_BITFIELD indirect: 1
BOOL_BITFIELD in_use: 1

Detailed Description

This is how we define the location of the CFA. We use to handle it as REG + OFFSET all the time, but now it can be more complex. It can now be either REG + CFA_OFFSET or *(REG + BASE_OFFSET) + CFA_OFFSET. Instead of passing around REG and OFFSET, we pass a copy of this structure.


Field Documentation

HOST_WIDE_INT cfa_loc::base_offset
BOOL_BITFIELD cfa_loc::in_use
BOOL_BITFIELD cfa_loc::indirect
unsigned int cfa_loc::reg

REG is in DWARF_FRAME_REGNUM space, not normal REGNO space.

Referenced by cfi_label_required_p(), dwarf2out_flush_queued_reg_saves(), dwarf2out_frame_debug_cfa_window_save(), and reg_saved_in().


The documentation for this struct was generated from the following file: