{"record":{"id":"687f280494a62210","repo":"wasmerio/wasmer","slug":"dwarf-relocation-size-not-yet-supported","errorCode":null,"errorMessage":"dwarf relocation size not yet supported: {}","messagePattern":"dwarf relocation size not yet supported: (.+?)","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"lib/compiler-cranelift/src/dwarf.rs","lineNumber":88,"sourceCode":"    }\n\n    fn write_at(&mut self, offset: usize, bytes: &[u8]) -> Result<()> {\n        self.writer.write_at(offset, bytes)\n    }\n\n    fn write_address(&mut self, address: Address, size: u8) -> Result<()> {\n        match address {\n            Address::Constant(val) => self.write_udata(val, size),\n            Address::Symbol { symbol, addend } => {\n                // Is a function relocation\n                if symbol == Self::FUNCTION_SYMBOL {\n                    // We use the addend to detect the function index\n                    let function_index = LocalFunctionIndex::new(addend as _);\n                    let reloc_target = RelocationTarget::LocalFunc(function_index);\n                    let offset = self.len() as u32;\n                    let kind = match size {\n                        8 => RelocationKind::Abs8,\n                        _ => unimplemented!(\"dwarf relocation size not yet supported: {}\", size),\n                    };\n                    let addend = 0;\n                    self.relocs.push(Relocation {\n                        kind,\n                        reloc_target,\n                        offset,\n                        addend,\n                    });\n                    self.write_udata(addend as _, size)\n                } else if symbol == Self::PERSONALITY_SYMBOL {\n                    let offset = self.len() as u32;\n                    let kind = match size {\n                        4 => RelocationKind::Abs4,\n                        8 => RelocationKind::Abs8,\n                        other => unimplemented!(\n                            \"dwarf relocation size for personality not supported: {}\",\n                            other\n                        ),","sourceCodeStart":70,"sourceCodeEnd":106,"githubUrl":"https://github.com/wasmerio/wasmer/blob/8c4b9ee9d33fb2068863fbb3d328683e7e6ff7f5/lib/compiler-cranelift/src/dwarf.rs#L70-L106","documentation":"Error \"dwarf relocation size not yet supported: {}\" thrown in wasmerio/wasmer.","triggerScenarios":"Thrown at lib/compiler-cranelift/src/dwarf.rs:88 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"8c4b9ee9d33fb2068863fbb3d328683e7e6ff7f5","analyzedAt":"2026-09-01T23:06:31.009Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-09T06:17:21.866Z"}