llvm-capstone/lld/test
Sam Clegg 206884bf90 [lld][WebAssembly] Implement --unresolved-symbols
This is a more full featured version of ``--allow-undefined``.
The semantics of the different methods are as follows:

report-all:

   Report all unresolved symbols.  This is the default.  Normally the
   linker will generate an error message for each reported unresolved
   symbol but the option ``--warn-unresolved-symbols`` can change this
   to a warning.

ignore-all:

   Resolve all undefined symbols to zero.  For data and function
   addresses this is trivial.  For direct function calls, the linker
   will generate a trapping stub function in place of the undefined
   function.

import-functions:

   Generate WebAssembly imports for any undefined functions.  Undefined
   data symbols are resolved to zero as in `ignore-all`.  This
   corresponds to the legacy ``--allow-undefined`` flag.

The plan is to followup with a new mode called `import-dynamic` which
allows for statically linked binaries to refer to both data and
functions symbols from the embedder.

Differential Revision: https://reviews.llvm.org/D79248
2020-11-17 16:27:06 -08:00
..
COFF [llvm-symbolizer] Add inline stack traces for Windows. 2020-11-17 13:19:13 -08:00
darwin
ELF [ELF] Fix interaction between --unresolved-symbols= and --[no-]allow-shlib-undefined 2020-11-17 12:20:57 -08:00
mach-o [lld] Test corrections after 3f1a9b7eca added segment names to objdump output 2020-09-04 10:26:29 -07:00
MachO lld: Add --color-diagnostic to MachO port, harmonize others 2020-11-17 12:58:30 -05:00
MinGW Reapply [LLD] [COFF] Implement a GNU/ELF like -wrap option 2020-10-15 22:14:02 +03:00
Unit
wasm [lld][WebAssembly] Implement --unresolved-symbols 2020-11-17 16:27:06 -08:00
CMakeLists.txt [LLD] Ignore ELF tests when ld.lld defaults to MinGW 2020-10-08 09:34:46 +03:00
lit.cfg.py [LLD] Ignore ELF tests when ld.lld defaults to MinGW 2020-10-08 09:34:46 +03:00
lit.site.cfg.py.in [LLD] Ignore ELF tests when ld.lld defaults to MinGW 2020-10-08 09:34:46 +03:00