llvm-project/lld/test
Fangrui Song 423cb321df [ELF] Special case --shuffle-sections=-1 to reverse input sections
If the number of sections changes, which is common for re-links after
incremental updates, the section order may change drastically.

Special case -1 to reverse input sections. This is a stable transform.
The section order is more resilient to incremental updates.  Usually the
code issue (e.g. Static Initialization Order Fiasco, assuming pointer
comparison result of two unrelated objects) is due to the relative order
between two problematic input files A and B.  Checking the regular order
and the reversed order is sufficient.

Differential Revision: https://reviews.llvm.org/D98445
2021-03-17 09:32:44 -07:00
..
COFF [lld-link] Add safe icf mode to lld-link, which does safe icf for all sections. 2021-03-03 14:52:33 -08:00
ELF [ELF] Special case --shuffle-sections=-1 to reverse input sections 2021-03-17 09:32:44 -07:00
MachO [lld-macho] Handle error cases properly for -exported_symbol(s_list) 2021-03-16 21:20:39 -07:00
MinGW [LLD] [MinGW] Pass the --demangle and --no-demangle options to the COFF linker 2021-01-07 10:02:19 +02:00
Unit Support multi-configuration generators correctly in several config files 2021-02-11 09:32:20 -08:00
darwin [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
mach-o [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
wasm [WebAssembly] Add new relocation for location relative data 2021-03-08 11:34:10 -08:00
CMakeLists.txt Support multi-configuration generators correctly in several config files 2021-02-11 09:32:20 -08:00
lit.cfg.py [lld][WebAssembly] Add suppport for PIC + passive data initialization 2020-12-04 17:28:23 -08:00
lit.site.cfg.py.in [test] Add ability to get error messages from CMake for errc substitution 2021-03-15 20:56:08 +01:00