MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / pcrel_sdata4_on_coff

Function pcrel_sdata4_on_coff

cranelift/object/src/unwind.rs:265–269  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

263
264 #[test]
265 fn pcrel_sdata4_on_coff() {
266 let pe = DwEhPe(DW_EH_PE_pcrel.0 | DW_EH_PE_sdata4.0);
267 let flags = translate_eh_pe(Some(pe), 8, BinaryFormat::Coff).unwrap();
268 assert_generic(flags, RelocationKind::Relative, 32);
269 }
270
271 #[test]
272 fn pcrel_on_macho_is_rejected() {

Callers

nothing calls this directly

Calls 3

translate_eh_peFunction · 0.85
assert_genericFunction · 0.85
unwrapMethod · 0.45

Tested by

no test coverage detected