<div dir="ltr"><div dir="ltr">On Wed, May 4, 2022 at 11:26 AM Pavel Labath via Phabricator <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">labath accepted this revision.<br>
labath added a comment.<br>
This revision is now accepted and ready to land.<br>
<br>
Looks good. Thanks for the patch. Do you need me to commit this for you?<br></blockquote><div><br></div><div>Yes please - thanks!</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Left two comments inline, but I can also fix that when I'm pushing it.<br></blockquote><div><br></div><div>That'd be awesome. I played with dropping the main() function, but that seems to weird lldb out somehow, and I don't get it reading the value of ug.m. </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
<br>
<br>
================<br>
Comment at: lldb/test/Shell/SymbolFile/DWARF/x86/debug_static-member-anonymous-namespace.s:5<br>
+# CHECK: (lldb) target variable ug<br>
+# CHECK: (U) ug = (m = 0)<br>
+<br>
----------------<br>
Better use some other number here, as it's fairly easy for a value to accidentally come out as zero.<br>
<br>
<br>
================<br>
Comment at: lldb/test/Shell/SymbolFile/DWARF/x86/debug_static-member-anonymous-namespace.s:22-25<br>
+#<br>
+# int main() {<br>
+#   return ug.m;<br>
+# }<br>
----------------<br>
We're not going to be running this, so you don't really need the main function.<br>
<br>
<br>
Repository:<br>
  rG LLVM Github Monorepo<br>
<br>
CHANGES SINCE LAST ACTION<br>
  <a href="https://reviews.llvm.org/D124409/new/" rel="noreferrer" target="_blank">https://reviews.llvm.org/D124409/new/</a><br>
<br>
<a href="https://reviews.llvm.org/D124409" rel="noreferrer" target="_blank">https://reviews.llvm.org/D124409</a><br>
<br>
</blockquote></div></div>