[WebAssembly][lld] Fix call-indirect.s test to validate
Add missing address operand, so that we can validate the output files. Depends on D92315. Differential Revision: https://reviews.llvm.org/D92320
This commit is contained in:
parent
54e38440e7
commit
1a9b6e4a32
|
@ -7,9 +7,11 @@ bar:
|
|||
.globl call_bar_indirect
|
||||
call_bar_indirect:
|
||||
.functype call_bar_indirect () -> ()
|
||||
i32.const 0
|
||||
i32.load indirect_bar
|
||||
call_indirect () -> (i64)
|
||||
drop
|
||||
i32.const 0
|
||||
i32.load indirect_foo
|
||||
call_indirect () -> (i32)
|
||||
drop
|
||||
|
|
|
@ -122,7 +122,7 @@ define void @call_ptr(i64 (i64)* %arg) {
|
|||
; CHECK-NEXT: Body: 42010B
|
||||
; CHECK-NEXT: - Index: 1
|
||||
; CHECK-NEXT: Locals:
|
||||
; CHECK-NEXT: Body: 2802808880800011808080800080808080001A2802848880800011818080800080808080001A0B
|
||||
; CHECK-NEXT: Body: 41002802808880800011808080800080808080001A41002802848880800011818080800080808080001A0B
|
||||
; CHECK-NEXT: - Index: 2
|
||||
; CHECK-NEXT: Locals:
|
||||
; CHECK-NEXT: Body: 41020B
|
||||
|
|
|
@ -22,5 +22,5 @@ entry:
|
|||
|
||||
; ERROR: wasm-ld: error: --compress-relocations is incompatible with output debug information. Please pass --strip-debug or --strip-all
|
||||
|
||||
; CHECK: Body: 2802808880800011808080800080808080001A2802848880800011818080800080808080001A0B
|
||||
; COMPRESS: Body: 280280081100001A280284081101001A0B
|
||||
; CHECK: Body: 41002802808880800011808080800080808080001A41002802848880800011818080800080808080001A0B
|
||||
; COMPRESS: Body: 4100280280081100001A4100280284081101001A0B
|
||||
|
|
Loading…
Reference in a new issue