summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-readobj/sections.test
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2017-04-28 21:12:09 +0000
committerSam Clegg <sbc@chromium.org>2017-04-28 21:12:09 +0000
commitff0730b3fcd488caf121e2e4d1aa8506ff13f3c6 (patch)
tree1ef967cec5a0f6d43a28015a9bd81ede35262ad4 /llvm/test/tools/llvm-readobj/sections.test
parent267ba94ce6593ba09b1d45ac04d8cc5851685f9c (diff)
downloadbcm5719-llvm-ff0730b3fcd488caf121e2e4d1aa8506ff13f3c6.tar.gz
bcm5719-llvm-ff0730b3fcd488caf121e2e4d1aa8506ff13f3c6.zip
[WebAssembly] Write initial memory in pages not bytes
Subscribers: jfb, dschuff Differential Revision: https://reviews.llvm.org/D32660 llvm-svn: 301687
Diffstat (limited to 'llvm/test/tools/llvm-readobj/sections.test')
-rw-r--r--llvm/test/tools/llvm-readobj/sections.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-readobj/sections.test b/llvm/test/tools/llvm-readobj/sections.test
index 312c47fe4c8..1747ee45d4f 100644
--- a/llvm/test/tools/llvm-readobj/sections.test
+++ b/llvm/test/tools/llvm-readobj/sections.test
@@ -518,6 +518,11 @@ WASM-NEXT: Section {
WASM-NEXT: Type: MEMORY (0x5)
WASM-NEXT: Size: 3
WASM-NEXT: Offset: 66
+WASM-NEXT: Memories [
+WASM-NEXT: Memory {
+WASM-NEXT: InitialPages: 0
+WASM-NEXT: }
+WASM-NEXT: ]
WASM-NEXT: }
WASM-NEXT: Section {
WASM-NEXT: Type: EXPORT (0x7)
OpenPOWER on IntegriCloud