Skip to content

Commit cb4c9cd

Browse files
Merge pull request #10623 from swiftlang/lldb/dwarf-parsing-error-downgrade-to-6.2
🍒[lldb/DWARF] Downgrade the "parent of variable is not CU" error
2 parents f3ac3ff + 5da48cb commit cb4c9cd

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp

+3-4
Original file line numberDiff line numberDiff line change
@@ -3936,10 +3936,9 @@ void SymbolFileDWARF::ParseAndAppendGlobalVariable(
39363936
break;
39373937

39383938
default:
3939-
GetObjectFile()->GetModule()->ReportError(
3940-
"didn't find appropriate parent DIE for variable list for {0:x8} "
3941-
"{1} ({2}).\n",
3942-
die.GetID(), DW_TAG_value_to_name(die.Tag()), die.Tag());
3939+
LLDB_LOG(GetLog(DWARFLog::Lookups),
3940+
"{0} '{1}' ({2:x8}) is not a global variable - ignoring", tag,
3941+
die.GetName(), die.GetID());
39433942
return;
39443943
}
39453944

0 commit comments

Comments
 (0)