diff --git a/test/Object/obj2yaml.test b/test/Object/obj2yaml.test index d9540d4422f..46a0d773636 100644 --- a/test/Object/obj2yaml.test +++ b/test/Object/obj2yaml.test @@ -667,8 +667,10 @@ WASM-NEXT: Size: 13 WASM-NEXT: - Index: 2 WASM: Name: puts WASM: - Index: 3 -WASM: Name: SomeOtherFunction +WASM: Name: .LSomeOtherFunction_bitcast WASM: - Index: 4 +WASM: Name: SomeOtherFunction +WASM: - Index: 5 WASM: Name: var WASM: SegmentInfo: WASM-NEXT: - Index: 0 diff --git a/test/Object/objdump-relocations.test b/test/Object/objdump-relocations.test index 24fd4a32efa..3a1793e3daf 100644 --- a/test/Object/objdump-relocations.test +++ b/test/Object/objdump-relocations.test @@ -62,6 +62,7 @@ ELF-MIPSEL: R_MIPS_CALL16 SomeOtherFunction WASM: CODE WASM-NEXT: R_WEBASSEMBLY_MEMORY_ADDR_SLEB .L.str WASM-NEXT: R_WEBASSEMBLY_FUNCTION_INDEX_LEB puts +WASM-NEXT: R_WEBASSEMBLY_FUNCTION_INDEX_LEB .LSomeOtherFunction_bitcast WASM-NEXT: R_WEBASSEMBLY_FUNCTION_INDEX_LEB SomeOtherFunction ELF-complex-x86-64: .text