From 7ab15a79be113ac6749835230bbd2e7d4b4d9909 Mon Sep 17 00:00:00 2001 From: Wouter van Oortmerssen Date: Thu, 17 Jan 2019 18:30:35 +0000 Subject: [PATCH] [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 --- lld/test/wasm/archive.ll | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lld/test/wasm/archive.ll b/lld/test/wasm/archive.ll index beea2725cff9..f2eee96a6115 100644 --- a/lld/test/wasm/archive.ll +++ b/lld/test/wasm/archive.ll @@ -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