[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
This commit is contained in:
Wouter van Oortmerssen 2019-01-17 18:30:35 +00:00
parent 2ff012df81
commit 7ab15a79be
1 changed files with 3 additions and 3 deletions

View File

@ -33,10 +33,10 @@ entry:
; TODO(ncw): Update LLD so that the symbol table is written out for ; TODO(ncw): Update LLD so that the symbol table is written out for
; non-relocatable output (with an option to strip it) ; non-relocatable output (with an option to strip it)
; CHECK: 00000004 T _start ; CHECK: 00000016 T _start
; CHECK-NEXT: 00000002 T archive2_symbol ; CHECK-NEXT: 0000000a T archive2_symbol
; CHECK-NEXT: 00000001 T bar ; CHECK-NEXT: 00000001 T bar
; CHECK-NEXT: 00000003 T foo ; CHECK-NEXT: 0000000d T foo
; CHECK-NEXT: U missing_func ; CHECK-NEXT: U missing_func
; Verify that symbols from unused objects don't appear in the symbol table ; Verify that symbols from unused objects don't appear in the symbol table