[PATCH] D56687: [WebAssembly] Changed objdump output to offsets instead of indices.

Wouter van Oortmerssen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 14 16:14:26 PST 2019


aardappel created this revision.
aardappel added a reviewer: sbc100.
Herald added subscribers: llvm-commits, sunfish, aheejin, jgravelle-google, dschuff.

This is to accommodate this change: https://reviews.llvm.org/D56684


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D56687

Files:
  test/wasm/archive.ll


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56687.181664.patch
Type: text/x-patch
Size: 651 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190115/00ef4319/attachment.bin>


More information about the llvm-commits mailing list