llvm/lld
Zakk Chen ad5fad0ac5 [LTO] Suppress emission of empty combined module by default
Summary:
That unless the user requested an output object (--lto-obj-path), the an
unused empty combined module is not emitted.

This changed is helpful for some target (ex. RISCV-V) which encoded the
ABI info in IR module flags (target-abi). Empty unused module has no ABI
info so the linker would get the linking error during merging
incompatible ABIs.

Reviewers: tejohnson, espindola, MaskRay

Subscribers: emaste, inglorion, arichardson, hiraditya, simoncook, MaskRay, steven_wu, dexonsmith, PkmX, dang, lenary, s.egerton, luismarques, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D78988
2020-05-04 18:31:09 -07:00
..
cmake/modules
COFF [LTO] Suppress emission of empty combined module by default 2020-05-04 18:31:09 -07:00
Common
docs [ELF] Add --print-archive-stats= 2020-04-29 18:04:37 -07:00
ELF [LTO] Suppress emission of empty combined module by default 2020-05-04 18:31:09 -07:00
include/lld
lib
MachO [lld-macho] Support X86_64_RELOC_SIGNED_{1,2,4} 2020-05-04 15:15:35 -07:00
MinGW
test [LTO] Suppress emission of empty combined module by default 2020-05-04 18:31:09 -07:00
tools/lld Reland D78837 [lld] Remove special cases from default ld driver mode. 2020-04-29 14:45:44 -07:00
unittests
utils
wasm [WebAssmebly] Add support for defined wasm globals in MC and lld 2020-04-30 12:43:15 -07:00
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt Revert "Temporarily revert "build: use find_package(Python3) if available"" 2020-04-29 01:38:08 +00:00
CODE_OWNERS.TXT
LICENSE.TXT
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.