diff options
| author | Dan Gohman <dan433584@gmail.com> | 2019-08-29 22:41:05 +0000 |
|---|---|---|
| committer | Dan Gohman <dan433584@gmail.com> | 2019-08-29 22:41:05 +0000 |
| commit | 7cb9c8a506f3490755db20c0a9298e9caa6fb89d (patch) | |
| tree | 7eaaceb822a69acc342ce077e3ecfcda1c521d0b /lld/docs | |
| parent | da84b688f9160bcd00ef46932e752aa33af94bc7 (diff) | |
| download | bcm5719-llvm-7cb9c8a506f3490755db20c0a9298e9caa6fb89d.tar.gz bcm5719-llvm-7cb9c8a506f3490755db20c0a9298e9caa6fb89d.zip | |
[WebAssembly] Implement NO_STRIP
This patch implements support for the NO_STRIP flag, which will allow
__attribute__((used)) to be implemented.
This accompanies https://reviews.llvm.org/D62542, which moves to setting the
NO_STRIP flag, and will continue to set EXPORTED for Emscripten targets for
compatibility.
Differential Revision: https://reviews.llvm.org/D66968
llvm-svn: 370416
Diffstat (limited to 'lld/docs')
| -rw-r--r-- | lld/docs/ReleaseNotes.rst | 5 | ||||
| -rw-r--r-- | lld/docs/WebAssembly.rst | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/lld/docs/ReleaseNotes.rst b/lld/docs/ReleaseNotes.rst index 520a9fe5a18..8cc70656a21 100644 --- a/lld/docs/ReleaseNotes.rst +++ b/lld/docs/ReleaseNotes.rst @@ -44,4 +44,7 @@ MachO Improvements WebAssembly Improvements ------------------------ -* ... +* `__data_end` and `__heap_base` are no longer exported by default, + as it's best to keep them internal when possible. They can be + explicitly exported with `--export=__data_end` and + `--export=__heap_base`, respectively. diff --git a/lld/docs/WebAssembly.rst b/lld/docs/WebAssembly.rst index 41522163bb8..6384a929d23 100644 --- a/lld/docs/WebAssembly.rst +++ b/lld/docs/WebAssembly.rst @@ -109,7 +109,7 @@ trap at runtime (functions that contain only an ``unreachable`` instruction) and use these stub functions at the otherwise invalid call sites. The default behaviour is to generate these stub function and to produce -a warning. The ``--falal-warnings`` flag can be used to disable this behaviour +a warning. The ``--fatal-warnings`` flag can be used to disable this behaviour and error out if mismatched are found. Imports and Exports |

