diff options
author | Derek Schuff <dschuff@chromium.org> | 2016-04-06 09:05:09 -0700 |
---|---|---|
committer | Derek Schuff <dschuff@chromium.org> | 2016-04-06 09:05:09 -0700 |
commit | c885ca69d19e7bd2c58b44eef242de334ac8c9dd (patch) | |
tree | b308715bc24b4786bef3e18702332cc96751f0b2 /test/llvm_autogenerated/non-executable-stack.wast | |
parent | 176cac16a7a7910620f88d62b6a5675cdca87741 (diff) | |
download | binaryen-c885ca69d19e7bd2c58b44eef242de334ac8c9dd.tar.gz binaryen-c885ca69d19e7bd2c58b44eef242de334ac8c9dd.tar.bz2 binaryen-c885ca69d19e7bd2c58b44eef242de334ac8c9dd.zip |
Handle static initializers
LLVM emits static initializers in the ELF style, by placing pointers to
the constructor functions in a .init_array section. Handle this in
s2wasm for now by converting these to standard emscripten metadata.
Diffstat (limited to 'test/llvm_autogenerated/non-executable-stack.wast')
-rw-r--r-- | test/llvm_autogenerated/non-executable-stack.wast | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/llvm_autogenerated/non-executable-stack.wast b/test/llvm_autogenerated/non-executable-stack.wast index 2f8f59d82..23a1430e0 100644 --- a/test/llvm_autogenerated/non-executable-stack.wast +++ b/test/llvm_autogenerated/non-executable-stack.wast @@ -2,4 +2,4 @@ (memory 0) (export "memory" memory) ) -;; METADATA: { "asmConsts": {},"staticBump": 4 } +;; METADATA: { "asmConsts": {},"staticBump": 4, "initializers": [] } |