<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="direction:ltr;font-size:10pt;font-family:Tahoma">
<div style="font-size:16px;font-family:Times New Roman"><div><div dir="ltr"><div><br>
</div><div>This is in enum llvm_dwarf_constants, not enum dwarf_constants.</div>
<div>It's one of several mock tags defined for the metadata interface;</div>
<div>they are not defined by DWARF. (If the number of real DWARF tags</div>
<div>doubles, we'll have to renumber these to get out of the way.)</div><div>
<div> </div></div></div></div></div></div></div></blockquote><div><br></div><div>Yeah, we're looking at getting rid of those, I'm not sure it's needed ... (more at the end)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="direction:ltr;font-size:10pt;font-family:Tahoma"><div style="font-size:16px;font-family:Times New Roman"><div><div dir="ltr"><div>
<div>> And you don't disassemble to it either.</div>
</div><div>Not sure what you mean here.</div></div></div></div></div></div></blockquote><div><br></div><div>You didn't add code to dump the tag. See DW_TAG_arg_variable as an example.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="direction:ltr;font-size:10pt;font-family:Tahoma"><div style="font-size:16px;font-family:Times New Roman"><div><div dir="ltr"><div>
<div><br>
> Also you don't use isStaticData()...</div>
<div>><br>
</div>
<div>> Perhaps there's some part of the patch I'm missing?</div>
<div> </div>
</div><div>See the Clang part of the patch, which does use isStaticDataMember().</div></div></div></div></div></div></blockquote><div><br></div><div>Aah. Why not just check the decl to see if it's a static data member before doing the lookup?</div>
<div><br></div><div>-eric</div></div><br></div></div>