llvm-project/lld
Bob Haarman 8e0b179315 [ELF] report section sizes when output file too large
Fixes PR48523. When the linker errors with "output file too large",
one question that comes to mind is how the section sizes differ from
what they were previously. Unfortunately, this information is lost
when the linker exits without writing the output file. This change
makes it so that the error message includes the sizes of the largest
sections.

Reviewed By: MaskRay, grimar, jhenderson

Differential Revision: https://reviews.llvm.org/D94560
2021-01-21 19:47:03 +00:00
..
COFF Reland "[PDB] Defer relocating .debug$S until commit time and parallelize it" 2021-01-20 11:53:43 -08:00
Common
ELF [ELF] report section sizes when output file too large 2021-01-21 19:47:03 +00:00
MachO [lld-macho] Add dependency on ObjCARC to fix shared build 2021-01-20 20:41:51 -05:00
MinGW [LLD] [MinGW] Pass the --demangle and --no-demangle options to the COFF linker 2021-01-07 10:02:19 +02:00
cmake/modules
docs
include/lld [lld][WebAssembly] Add support for handling table symbols 2021-01-14 11:13:13 +01:00
lib [MachO] Fix enum-int mismatch warning 2020-12-28 17:39:41 +01:00
test [ELF] report section sizes when output file too large 2021-01-21 19:47:03 +00:00
tools/lld
unittests
utils
wasm [lld][WebAssembly] Don't defined indirect function table in relocatable output 2021-01-19 12:59:20 -08:00
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt
CODE_OWNERS.TXT
LICENSE.TXT
README.md [doc] Place sha256 in lld/README.md into backticks 2021-01-12 10:19:40 -08:00

README.md

LLVM Linker (lld)

This directory and its subdirectories contain source code for the LLVM Linker, a modular cross platform linker which is built as part of the LLVM compiler infrastructure project.

lld is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt.

Benchmarking

In order to make sure various developers can evaluate patches over the same tests, we create a collection of self contained programs.

It is hosted at https://s3-us-west-2.amazonaws.com/linker-tests/lld-speed-test.tar.xz

The current sha256 is 10eec685463d5a8bbf08d77f4ca96282161d396c65bd97dc99dbde644a31610f.