You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* WIP: Add support for encoding location lists
* Emit relocations for location lists
* Fix writing base address with relocations
* Add diagnostics and implement ToString on the new objects
Copy file name to clipboardExpand all lines: src/LibObjectFile/Dwarf/DwarfAttribute.cs
+45-2
Original file line number
Diff line number
Diff line change
@@ -88,13 +88,23 @@ public override void Verify(DiagnosticBag diagnostics)
88
88
89
89
if(thisSection!=attrSection)
90
90
{
91
-
diagnostics.Error(DiagnosticId.DWARF_ERR_InvalidParentForDIE,$"Invalid parent for the DIE {attrDIE} referenced by the attribute {this}. It must be within the same parent {attrSection.GetType()}.");
91
+
diagnostics.Error(DiagnosticId.DWARF_ERR_InvalidParentForDIE,$"Invalid parent for the DIE {attrDIE} referenced by the attribute {this}. It must be within the same parent {thisSection.GetType()}.");
diagnostics.Error(DiagnosticId.DWARF_ERR_InvalidParentForLocationList,$"Invalid parent for the LocationList {locationList} referenced by the attribute {this}. It must be within the same parent {thisSection.GetType()}.");
context.Diagnostics.Error(DiagnosticId.DWARF_ERR_InvalidData,$"The expression value of attribute {this} from DIE {this.Parent} is not valid for supported attribute encoding {encoding}. Expecting LocationList.");
0 commit comments