HomePhabricator

[WebAssembly] Implement NO_STRIP

Authored by sunfish on Aug 29 2019, 3:41 PM.

Description

[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

Details

Committed
sunfishAug 29 2019, 3:41 PM
Differential Revision
D66968: [WebAssembly] Implement NO_STRIP
Parents
rGda84b688f916: [WebAssembly] Make __attribute__((used)) not imply export.
Branches
Unknown
Tags
Unknown