diff options
author | Thomas Lively <tlively@google.com> | 2019-09-04 19:50:39 +0000 |
---|---|---|
committer | Thomas Lively <tlively@google.com> | 2019-09-04 19:50:39 +0000 |
commit | 09768c5d7abb398e92ed5fd1660d0ea69976943a (patch) | |
tree | ba30eae1b1b346fb23594e3b3c535d84373319a0 /lldb/packages/Python/lldbsuite/test/functionalities/source-map | |
parent | 85d6edb26577a75940c9d691e6a178726cdb066b (diff) | |
download | bcm5719-llvm-09768c5d7abb398e92ed5fd1660d0ea69976943a.tar.gz bcm5719-llvm-09768c5d7abb398e92ed5fd1660d0ea69976943a.zip |
[WebAssembly] Initialize memory in start function
Summary:
- `__wasm_init_memory` is now the WebAssembly start function instead
of being called from `__wasm_call_ctors` or called directly by the
runtime.
- Adds a new synthetic data symbol `__wasm_init_memory_flag` that is
atomically incremented from zero to one by the thread responsible
for initializing memory.
- All threads now unconditionally perform data.drop on all passive
segments.
- Removes --passive-segments and --active-segments flags and controls
segment type based on --shared-memory instead. The deleted flags
were only present to ameliorate the upgrade path in Emscripten.
Reviewers: sbc100, aheejin
Subscribers: dschuff, jgravelle-google, sunfish, jfb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65783
llvm-svn: 370965
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/source-map')
0 files changed, 0 insertions, 0 deletions