llvm/lld/test
Martin Storsjö 9c29291dfa [LLD] [COFF] Fix export directives in object files from -includeoptional
When an object file contains an export directive, we normally do some
amount of deferred processing of them at the end of the linking
process. The -includeoptional option was handled after this, and
any object files (defining new exports) weren't handled.

Move the handling of the -includeoptional into the same late loop
which does the fixups for e.g. export directives.

Ideally, this would also be done for object files that are pulled
in by the wrap options, and for mingw autoimports, but those changes
require more modifications, to make them safe for potentially
being executed multiple times.

This fixes https://github.com/llvm/llvm-project/issues/57243.

Differential Revision: https://reviews.llvm.org/D132361

(cherry picked from commit af39e6f6fc905f3c067f022fb44136779d2f9c84)
2022-08-25 12:49:09 +02:00
..
COFF [LLD] [COFF] Fix export directives in object files from -includeoptional 2022-08-25 12:49:09 +02:00
ELF [ELF] Support --package-metadata 2022-08-10 10:49:39 +02:00
MachO [lld-macho] Support EH frame pointer encodings that use sdata4 2022-08-08 15:36:33 -07:00
MinGW [LLD] [MinGW] Implement the --exclude-symbols option 2022-08-12 08:36:08 +02:00
wasm
CMakeLists.txt [BUILD] Add missed CMakeLists.txt change from dfb77f2 2022-07-05 16:04:58 +01:00
lit.cfg.py [LLD][ELF] Add FORCE_LLD_DIAGNOSTICS_CRASH to force LLD to crash 2022-07-05 09:43:09 +01:00
lit.site.cfg.py.in Revert "[llvm] cmake config groundwork to have ZSTD in LLVM" 2022-07-08 13:48:05 -07:00