From ae28be3a8aa349e0d37063a29cb8cc8986fa595a Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Mon, 4 Feb 2019 23:36:38 +0000 Subject: [PATCH] [llvm-readobj] Fix readobj test expectation broken in rL353109. NFC. llvm-svn: 353119 --- llvm/test/tools/llvm-readobj/symbols.test | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/llvm/test/tools/llvm-readobj/symbols.test b/llvm/test/tools/llvm-readobj/symbols.test index e68d654..cf44a31 100644 --- a/llvm/test/tools/llvm-readobj/symbols.test +++ b/llvm/test/tools/llvm-readobj/symbols.test @@ -85,25 +85,34 @@ WASM-NEXT: Symbol { WASM-NEXT: Name: main WASM-NEXT: Type: FUNCTION (0x0) WASM-NEXT: Flags: 0x0 +WASM-NEXT: ElementIndex: 0x2 WASM-NEXT: } WASM-NEXT: Symbol { WASM-NEXT: Name: .L.str WASM-NEXT: Type: DATA (0x1) WASM-NEXT: Flags: 0x2 +WASM-NEXT: Offset: 0x0 +WASM-NEXT: Segment: 0x0 +WASM-NEXT: Size: 0xD WASM-NEXT: } WASM-NEXT: Symbol { WASM-NEXT: Name: puts WASM-NEXT: Type: FUNCTION (0x0) WASM-NEXT: Flags: 0x10 +WASM-NEXT: Module: env +WASM-NEXT: ElementIndex: 0x0 WASM-NEXT: } WASM-NEXT: Symbol { WASM-NEXT: Name: .LSomeOtherFunction_bitcast WASM-NEXT: Type: FUNCTION (0x0) WASM-NEXT: Flags: 0x2 +WASM-NEXT: ElementIndex: 0x3 WASM-NEXT: } WASM-NEXT: Symbol { WASM-NEXT: Name: SomeOtherFunction WASM-NEXT: Type: FUNCTION (0x0) WASM-NEXT: Flags: 0x10 +WASM-NEXT: Module: env +WASM-NEXT: ElementIndex: 0x1 WASM-NEXT: } WASM-NEXT: ] -- 2.7.4