[Dwarf-discuss] DW_AT_frame_base

2023-09-18 Thread Vsevolod Alekseyev via Dwarf-discuss
Please help me interpret the DWARF spec regarding the DW_AT_frame_base. Quoted by spec v3, section 3.5.5, but similar wording in v4 and v5: "A subroutine or entry point entry may also have a DW_AT_frame_base attribute, whose value is a location description that computes the "frame base" for the

Re: [Dwarf-discuss] DW_AT_frame_base

2023-09-18 Thread Robinson, Paul via Dwarf-discuss
A "location description [that] is a register operation" is the language in DWARF v3; in later versions, it is "a simple register location description." This means something like DW_OP_reg5, which is allowed in a location description but not in a DWARF expression. Form DW_FORM_data4, value 0, wo