summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/WebAssembly/explicit-sections.ll
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2019-04-12 22:27:48 +0000
committerThomas Lively <tlively@google.com>2019-04-12 22:27:48 +0000
commitfef8de66a6ad56d71eb8bf8a401f8cdc82dea225 (patch)
tree55b9ddd2be0fc7c1ac1ef4b1683aa44bee339bc8 /llvm/test/MC/WebAssembly/explicit-sections.ll
parentbdb5e4e4ca5fbc7ef528067b65dda298e191e059 (diff)
downloadbcm5719-llvm-fef8de66a6ad56d71eb8bf8a401f8cdc82dea225.tar.gz
bcm5719-llvm-fef8de66a6ad56d71eb8bf8a401f8cdc82dea225.zip
[WebAssembly] Add DataCount section to object files
Summary: This ensures that object files will continue to validate as WebAssembly modules in the presence of bulk memory operations. Engines that don't support bulk memory operations will not recognize the DataCount section and will report validation errors, but that's ok because object files aren't supposed to be run directly anyway. Reviewers: aheejin, dschuff, sbc100 Subscribers: jgravelle-google, hiraditya, sunfish, rupprecht, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D60623 llvm-svn: 358315
Diffstat (limited to 'llvm/test/MC/WebAssembly/explicit-sections.ll')
-rw-r--r--llvm/test/MC/WebAssembly/explicit-sections.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/MC/WebAssembly/explicit-sections.ll b/llvm/test/MC/WebAssembly/explicit-sections.ll
index b94190f8143..ae04051f458 100644
--- a/llvm/test/MC/WebAssembly/explicit-sections.ll
+++ b/llvm/test/MC/WebAssembly/explicit-sections.ll
@@ -10,7 +10,7 @@ target triple = "wasm32-unknown-unknown"
@global3 = global i32 8, align 8, section ".sec2"
-; CHECK: - Type: DATA
+; CHECK: - Type: DATA{{$}}
; CHECK-NEXT: Segments:
; CHECK-NEXT: - SectionOffset: 6
; CHECK-NEXT: InitFlags: 0
OpenPOWER on IntegriCloud