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

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 19 05:55:15 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());
----------------
labath wrote:

Sure, why not.

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


More information about the lldb-commits mailing list