================
@@ -50,7 +50,8 @@ class ElaboratingDIEIterator
     m_worklist.pop_back();
 
     // And add back any items that elaborate it.
-    for (dw_attr_t attr : {DW_AT_specification, DW_AT_abstract_origin}) {
+    for (dw_attr_t attr :
+         {DW_AT_specification, DW_AT_abstract_origin, DW_AT_specification}) {
----------------
Michael137 wrote:

Just from cursory reading it seems like `ElaboratingDIEIterator` is only useful 
for method DIEs currently? Which might be why no tests were affected here?

If you do need it as part of this patch then there's a couple of comments to 
fix up in `ElaboratingDIEIterator` that specifically talk about 
`DW_AT_specification`/`DW_AT_abstract_origin`

https://github.com/llvm/llvm-project/pull/107241
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to