Elvina Yakubova
b36a3e6140
[llvm-readobj] Update tests because of changes in llvm-readobj behavior
...
This patch updates tests using llvm-readobj and llvm-readelf, because
soon reading from stdin will be achievable only via a '-' as described
here: https://bugs.llvm.org/show_bug.cgi?id=46400 . Patch with changes to
llvm-readobj behavior is here: https://reviews.llvm.org/D83704
Differential Revision: https://reviews.llvm.org/D83912
Reviewed by: jhenderson, MaskRay, grimar
2020-07-20 10:39:04 +01:00
Dan Gohman
da84b688f9
[WebAssembly] Make __attribute__((used)) not imply export.
...
Add an WASM_SYMBOL_NO_STRIP flag, so that __attribute__((used)) doesn't
need to imply exporting. When targeting Emscripten, have
WASM_SYMBOL_NO_STRIP imply exporting.
Differential Revision: https://reviews.llvm.org/D62542
llvm-svn: 370415
2019-08-29 22:40:00 +00:00
Sam Clegg
d6ef8da317
[WebAssembly] Add symbol flag to the binary format llvm.used
...
Summary:
Rather than add a new attribute
See https://github.com/WebAssembly/tool-conventions/issues/64
Subscribers: dschuff, jgravelle-google, aheejin, sunfish, rupprecht, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D57864
llvm-svn: 353360
2019-02-07 01:24:44 +00:00