[Lldb-commits] [lldb] [lldb/DWARF] Downgrade the "parent of variable is not CU" error (PR #108806)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 16 04:40:50 PDT 2024


================
@@ -3828,10 +3828,8 @@ void SymbolFileDWARF::ParseAndAppendGlobalVariable(
     break;
 
   default:
-    GetObjectFile()->GetModule()->ReportError(
-        "didn't find appropriate parent DIE for variable list for {0:x8} "
-        "{1} ({2}).\n",
-        die.GetID(), DW_TAG_value_to_name(die.Tag()), die.Tag());
+    LLDB_LOG(GetLog(DWARFLog::Lookups),
+             "DIE {0:x8} is not a global variable - ignoring", die.GetID());
----------------
Michael137 wrote:

Nit: should we include the name/tag too? I could see it being useful

https://github.com/llvm/llvm-project/pull/108806


More information about the lldb-commits mailing list