From eb07b15e615c46f3fae5222ce3c9feb1980e22d3 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 30 Sep 2024 14:36:05 -0500 Subject: [PATCH] Handle another DWARF attribute when rewriting DWARF (#9335) I don't know what `Data8` is, but it looks a lot like `Data4`, so process it in the same way as `Data4`. Closes #9333 --- crates/cranelift/src/debug/transform/attr.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/cranelift/src/debug/transform/attr.rs b/crates/cranelift/src/debug/transform/attr.rs index 5982100b8d1c..f3de8a301045 100644 --- a/crates/cranelift/src/debug/transform/attr.rs +++ b/crates/cranelift/src/debug/transform/attr.rs @@ -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) => {