summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/test/Object/nm-trivial-object.test12
-rw-r--r--llvm/test/tools/llvm-nm/wasm/exports.yaml2
2 files changed, 7 insertions, 7 deletions
diff --git a/llvm/test/Object/nm-trivial-object.test b/llvm/test/Object/nm-trivial-object.test
index ca9c2782611..4ecc17a15a5 100644
--- a/llvm/test/Object/nm-trivial-object.test
+++ b/llvm/test/Object/nm-trivial-object.test
@@ -61,9 +61,9 @@ COFF32-NEXT: U _puts
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-o: {{.*}}/macho-text-data-bss.macho-x86_64: 0000000000000048 S _t.eh
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/llvm/test/tools/llvm-nm/wasm/exports.yaml b/llvm/test/tools/llvm-nm/wasm/exports.yaml
index c1ee6d7cf58..756e9c1e051 100644
--- a/llvm/test/tools/llvm-nm/wasm/exports.yaml
+++ b/llvm/test/tools/llvm-nm/wasm/exports.yaml
@@ -62,5 +62,5 @@ Sections:
Flags: [ ]
# CHECK: 00000000 D dexport
-# CHECK-NEXT: 00000000 T fexport
+# CHECK-NEXT: 00000001 T fexport
# CHECK-NEXT: 00000000 D gexport
OpenPOWER on IntegriCloud