diff options
author | Derek Schuff <dschuff@google.com> | 2018-11-06 17:27:25 +0000 |
---|---|---|
committer | Derek Schuff <dschuff@google.com> | 2018-11-06 17:27:25 +0000 |
commit | 6881806241ed994bf973fb3773ec05afbe3c71fb (patch) | |
tree | 185fd4572a4958244795399f1a85718ca4028290 /llvm/include/llvm/BinaryFormat/Wasm.h | |
parent | 724014addef9416cbc525b9be6ce7eda8e803834 (diff) | |
download | bcm5719-llvm-6881806241ed994bf973fb3773ec05afbe3c71fb.tar.gz bcm5719-llvm-6881806241ed994bf973fb3773ec05afbe3c71fb.zip |
[WebAssembly] Add shared memory support to limits field
Support the IS_SHARED bit in the memory limits flag word.
The compiler does not create object files with memory definitions,
but the field is used by the linker.
Differential Revision: https://reviews.llvm.org/D54131
llvm-svn: 346246
Diffstat (limited to 'llvm/include/llvm/BinaryFormat/Wasm.h')
-rw-r--r-- | llvm/include/llvm/BinaryFormat/Wasm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/include/llvm/BinaryFormat/Wasm.h b/llvm/include/llvm/BinaryFormat/Wasm.h index 44dd92ea901..3d25c9d15e4 100644 --- a/llvm/include/llvm/BinaryFormat/Wasm.h +++ b/llvm/include/llvm/BinaryFormat/Wasm.h @@ -214,6 +214,7 @@ enum : unsigned { enum : unsigned { WASM_LIMITS_FLAG_HAS_MAX = 0x1, + WASM_LIMITS_FLAG_IS_SHARED = 0x2, }; // Kind codes used in the custom "name" section |