Skip to content

Commit 7ab15a7

Browse files
committed
[WebAssembly] Changed objdump output to offsets instead of indices.
Summary: This is to accommodate this change: https://reviews.llvm.org/D56684 Reviewers: sbc100 Subscribers: dschuff, jgravelle-google, aheejin, sunfish, llvm-commits Differential Revision: https://reviews.llvm.org/D56687 llvm-svn: 351462
1 parent 2ff012d commit 7ab15a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lld/test/wasm/archive.ll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ entry:
3333
; TODO(ncw): Update LLD so that the symbol table is written out for
3434
; non-relocatable output (with an option to strip it)
3535

36-
; CHECK: 00000004 T _start
37-
; CHECK-NEXT: 00000002 T archive2_symbol
36+
; CHECK: 00000016 T _start
37+
; CHECK-NEXT: 0000000a T archive2_symbol
3838
; CHECK-NEXT: 00000001 T bar
39-
; CHECK-NEXT: 00000003 T foo
39+
; CHECK-NEXT: 0000000d T foo
4040
; CHECK-NEXT: U missing_func
4141

4242
; Verify that symbols from unused objects don't appear in the symbol table

0 commit comments

Comments
 (0)