From: Wouter van Oortmerssen Date: Thu, 17 Jan 2019 19:18:05 +0000 (+0000) Subject: [WebAssembly] Fixing 2 more symbol offset related tests. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8a0264ba4251222873d3666a965e82101f028213;p=llvm [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 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