[llvm-readobj] Fix readobj test expectation broken in rL353109. NFC.
authorSam Clegg <sbc@chromium.org>
Mon, 4 Feb 2019 23:36:38 +0000 (23:36 +0000)
committerSam Clegg <sbc@chromium.org>
Mon, 4 Feb 2019 23:36:38 +0000 (23:36 +0000)
llvm-svn: 353119

llvm/test/tools/llvm-readobj/symbols.test

index e68d654..cf44a31 100644 (file)
@@ -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: ]