<div dir="ltr">+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... <br>So might just be a matter of removing the leb128 wording from the quoted area?<br><br><a class="gmail_plusreply" id="plusReplyChip-1" href="mailto:ccoutant@gmail.com" tabindex="-1">@Cary Coutant</a> could we get an issue filed for this?<br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Mon, Jan 20, 2025 at 4:32 PM Tom Tromey via Dwarf-discuss <<a href="mailto:dwarf-discuss@lists.dwarfstd.org">dwarf-discuss@lists.dwarfstd.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">>>>>> "John" == John DelSignore <<a href="mailto:JDelSignore@perforce.com" target="_blank">JDelSignore@perforce.com</a>> writes:<br>
<br>
John> Is the discriminant value always a constant? Perhaps DWARF should say,<br>
John> "The value of this attribute is of class constant." Table 2.3 defines<br>
John> attribute class constant as, "One, two, four, eight or sixteen bytes<br>
John> of uninterpreted data, or data encoded in the variable length format<br>
John> known as LEB128 (see Section 7.6 on page 221).".<br>
<br>
Yeah, makes sense to me.<br>
What I meant by:<br>
<br>
>> Additionally there doesn't seem to be any<br>
>> reason to limit the forms that may be used here.<br>
<br>
... is that any constant form seems fine.<br>
<br>
Tom<br>
-- <br>
Dwarf-discuss mailing list<br>
<a href="mailto:Dwarf-discuss@lists.dwarfstd.org" target="_blank">Dwarf-discuss@lists.dwarfstd.org</a><br>
<a href="https://lists.dwarfstd.org/mailman/listinfo/dwarf-discuss" rel="noreferrer" target="_blank">https://lists.dwarfstd.org/mailman/listinfo/dwarf-discuss</a><br>
</blockquote></div>