From ada3982d7634a41aa130f70e5b6e096f7fc42579 Mon Sep 17 00:00:00 2001 From: Wouter van Oortmerssen Date: Thu, 17 Jan 2019 19:18:05 +0000 Subject: [PATCH] [WebAssembly] Fixing 2 more symbol offset related tests. llvm-svn: 351465 --- test/Object/nm-trivial-object.test | 12 ++++++------ test/tools/llvm-nm/wasm/exports.yaml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/test/Object/nm-trivial-object.test b/test/Object/nm-trivial-object.test index ca9c2782611..4ecc17a15a5 100644 --- a/test/Object/nm-trivial-object.test +++ b/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/test/tools/llvm-nm/wasm/exports.yaml b/test/tools/llvm-nm/wasm/exports.yaml index c1ee6d7cf58..756e9c1e051 100644 --- a/test/tools/llvm-nm/wasm/exports.yaml +++ b/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