[WebAssembly] Fixing 2 more symbol offset related tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351465 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Object/nm-trivial-object.test b/test/Object/nm-trivial-object.test
index ca9c278..4ecc17a 100644
--- a/test/Object/nm-trivial-object.test
+++ b/test/Object/nm-trivial-object.test
@@ -61,9 +61,9 @@
WASM: 00000000 d .L.str
-WASM-NEXT: 00000003 t .LSomeOtherFunction_bitcast
+WASM-NEXT: 00000019 t .LSomeOtherFunction_bitcast
WASM-NEXT: U SomeOtherFunction
-WASM-NEXT: 00000002 T main
+WASM-NEXT: 00000001 T main
WASM-NEXT: U puts
WASM-NEXT: 00000010 D var
@@ -166,11 +166,11 @@
macho-pa: 0000000000000000 - 00 0000 SO /Volumes/SandBox/
macho-pa: 0000000000000000 - 00 0000 SO hello.c
macho-pa: 0000000053c8408d - 03 0001 OSO /Volumes/SandBox/hello.o
-macho-pa: 0000000100000f30 - 01 0000 BNSYM
+macho-pa: 0000000100000f30 - 01 0000 BNSYM
macho-pa: 0000000100000f30 - 01 0000 FUN _main
-macho-pa: 000000000000003b - 00 0000 FUN
-macho-pa: 000000000000003b - 01 0000 ENSYM
-macho-pa: 0000000000000000 - 01 0000 SO
+macho-pa: 000000000000003b - 00 0000 FUN
+macho-pa: 000000000000003b - 01 0000 ENSYM
+macho-pa: 0000000000000000 - 01 0000 SO
macho-pa: 0000000100000000 T __mh_execute_header
macho-pa: 0000000100000f30 T _main
macho-pa: U _printf
diff --git a/test/tools/llvm-nm/wasm/exports.yaml b/test/tools/llvm-nm/wasm/exports.yaml
index c1ee6d7..756e9c1 100644
--- a/test/tools/llvm-nm/wasm/exports.yaml
+++ b/test/tools/llvm-nm/wasm/exports.yaml
@@ -62,5 +62,5 @@
Flags: [ ]
# CHECK: 00000000 D dexport
-# CHECK-NEXT: 00000000 T fexport
+# CHECK-NEXT: 00000001 T fexport
# CHECK-NEXT: 00000000 D gexport