+1, thanks for bringing this up, Tom - seems like just specing it as class "constant" would be fine. And in fact in table 7.5 it's already specified that way... So might just be a matter of removing the leb128 wording from the quoted area?
@Cary Coutant <[email protected]> could we get an issue filed for this? On Mon, Jan 20, 2025 at 4:32 PM Tom Tromey via Dwarf-discuss < [email protected]> wrote: > >>>>> "John" == John DelSignore <[email protected]> writes: > > John> Is the discriminant value always a constant? Perhaps DWARF should > say, > John> "The value of this attribute is of class constant." Table 2.3 defines > John> attribute class constant as, "One, two, four, eight or sixteen bytes > John> of uninterpreted data, or data encoded in the variable length format > John> known as LEB128 (see Section 7.6 on page 221).". > > Yeah, makes sense to me. > What I meant by: > > >> Additionally there doesn't seem to be any > >> reason to limit the forms that may be used here. > > ... is that any constant form seems fine. > > Tom > -- > Dwarf-discuss mailing list > [email protected] > https://lists.dwarfstd.org/mailman/listinfo/dwarf-discuss >
-- Dwarf-discuss mailing list [email protected] https://lists.dwarfstd.org/mailman/listinfo/dwarf-discuss
