[lld] r351462 - [WebAssembly] Changed objdump output to offsets instead of indices.

Wouter van Oortmerssen via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 17 10:30:36 PST 2019


Author: aardappel
Date: Thu Jan 17 10:30:35 2019
New Revision: 351462

URL: http://llvm.org/viewvc/llvm-project?rev=351462&view=rev
Log:
[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

Modified:
    lld/trunk/test/wasm/archive.ll

Modified: lld/trunk/test/wasm/archive.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/archive.ll?rev=351462&r1=351461&r2=351462&view=diff
==============================================================================
--- lld/trunk/test/wasm/archive.ll (original)
+++ lld/trunk/test/wasm/archive.ll Thu Jan 17 10:30:35 2019
@@ -33,10 +33,10 @@ entry:
 ; 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




More information about the llvm-commits mailing list