llvm-project/lld/test
Sam Clegg 3f411e9773 [lld][WebAssembly] Fix --export-all when __stack_pointer is present
With https://reviews.llvm.org/D87537 we made it an error
to import or export a mutable global with the +mutable-globals
feature present.  However the scan was of the entire symbol
table rather than just the imports or exports and the filter
didn't match exaclyt meaning the `__stack_pointer` (a mutable
global) was always triggering with error when the `--export-all`
flag was used.

This also revealed that we didn't have any test coverage for
the `--export-all` flag.

This change fixes the current breakage on the emscripten-releases
roller.

Differential Revision: https://reviews.llvm.org/D87663
2020-09-15 06:17:01 -07:00
..
COFF [DebugInfo] Support both forward and backward slashes in tests 2020-09-15 00:59:58 -07:00
ELF [NFC][DebugInfo] Use consistent regex group spelling 2020-09-15 01:49:42 -07:00
MachO [lld] Test corrections after 3f1a9b7eca added segment names to objdump output 2020-09-04 10:26:29 -07:00
MinGW [LLD] [MinGW] Enable dynamicbase by default 2020-08-27 15:08:53 +03:00
Unit Revert "Temporarily revert "build: use `find_package(Python3)` if available"" 2020-04-29 01:38:08 +00:00
darwin
mach-o [lld] Test corrections after 3f1a9b7eca added segment names to objdump output 2020-09-04 10:26:29 -07:00
wasm [lld][WebAssembly] Fix --export-all when __stack_pointer is present 2020-09-15 06:17:01 -07:00
CMakeLists.txt [CMake] Simplify CMake handling for libxml2 2020-09-09 21:44:44 -07:00
lit.cfg.py [lit] Use correct variable name for libxml2 2020-09-09 22:04:25 -07:00
lit.site.cfg.py.in [CMake] Simplify CMake handling for libxml2 2020-09-09 21:44:44 -07:00