diff options
| author | Thomas Lively <tlively@google.com> | 2019-04-12 22:27:48 +0000 |
|---|---|---|
| committer | Thomas Lively <tlively@google.com> | 2019-04-12 22:27:48 +0000 |
| commit | fef8de66a6ad56d71eb8bf8a401f8cdc82dea225 (patch) | |
| tree | 55b9ddd2be0fc7c1ac1ef4b1683aa44bee339bc8 /llvm/test/MC/WebAssembly/bss.ll | |
| parent | bdb5e4e4ca5fbc7ef528067b65dda298e191e059 (diff) | |
| download | bcm5719-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/bss.ll')
| -rw-r--r-- | llvm/test/MC/WebAssembly/bss.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/MC/WebAssembly/bss.ll b/llvm/test/MC/WebAssembly/bss.ll index b3d95a161d1..05b6a6986e1 100644 --- a/llvm/test/MC/WebAssembly/bss.ll +++ b/llvm/test/MC/WebAssembly/bss.ll @@ -9,7 +9,7 @@ target triple = "wasm32-unknown-unknown" @foo = global %union.u1 zeroinitializer, align 1 @bar = global %union.u1 zeroinitializer, align 1 -; CHECK: - Type: DATA +; CHECK: - Type: DATA{{$}} ; CHECK-NEXT: Segments: ; CHECK-NEXT: - SectionOffset: 6 ; CHECK-NEXT: InitFlags: 0 |

