]> granicus.if.org Git - llvm/commitdiff
[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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353119 91177308-0d34-0410-b5e6-96231b3b80d8

test/tools/llvm-readobj/symbols.test

index e68d654bd65d849bd0d9536333177a643d0c3c66..cf44a3178f9b3654a26558da5324ca2d4b8b9437 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: ]