Skip to content

Commit

Permalink
Handle another DWARF attribute when rewriting DWARF
Browse files Browse the repository at this point in the history
I don't know what `Data8` is, but it looks a lot like `Data4`, so
process it in the same way as `Data4`.

Closes bytecodealliance#9333
  • Loading branch information
alexcrichton committed Sep 30, 2024
1 parent 5c8cd22 commit 30f3669
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/cranelift/src/debug/transform/attr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ where
AttributeValue::Data1(d) => write::AttributeValue::Data1(d),
AttributeValue::Data2(d) => write::AttributeValue::Data2(d),
AttributeValue::Data4(d) => write::AttributeValue::Data4(d),
AttributeValue::Data8(d) => write::AttributeValue::Data8(d),
AttributeValue::Sdata(d) => write::AttributeValue::Sdata(d),
AttributeValue::Flag(f) => write::AttributeValue::Flag(f),
AttributeValue::DebugLineRef(line_program_offset) => {
Expand Down

0 comments on commit 30f3669

Please sign in to comment.