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

Function pcrel_sdata4_on_elf

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

Source from the content-addressed store, hash-verified

256
257 #[test]
258 fn pcrel_sdata4_on_elf() {
259 let pe = DwEhPe(DW_EH_PE_pcrel.0 | DW_EH_PE_sdata4.0);
260 let flags = translate_eh_pe(Some(pe), 8, BinaryFormat::Elf).unwrap();
261 assert_generic(flags, RelocationKind::Relative, 32);
262 }
263
264 #[test]
265 fn pcrel_sdata4_on_coff() {

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