llvm-capstone/lld
Zequan Wu aaf3a8ded4
[LLD][COFF] Add -build-id flag to generate .buildid section. (#71433)
[RFC](https://discourse.llvm.org/t/rfc-add-build-id-flag-to-lld-link/74661)

Before, lld-link only generate the debug directory containing guid when
generating PDB with the hash of PDB content.

With this change, lld-link can generate the debug directory when only
`/build-id` is given:
1. If generating PDB, `/build-id` is ignored. Same behaviour as before.
2. Not generating PDB, using hash of the binary.
   - Not under MinGW, the debug directory is still in `.rdata` section.
   - Under MinGW, place the debug directory into new `.buildid` section.
2023-12-05 14:57:45 -05:00
..
cmake/modules [cmake] Fix path to LLVMConfig.cmake for multi-config builds 2023-01-13 20:32:59 +01:00
COFF [LLD][COFF] Add -build-id flag to generate .buildid section. (#71433) 2023-12-05 14:57:45 -05:00
Common [LLD][COFF] Add support for --time-trace (#68236) 2023-10-05 22:33:58 -04:00
docs Reapply [ELF] Making cdsort default for function reordering (#68638) 2023-11-03 16:03:06 -07:00
ELF [LLD][RISCV] Fix incorrect call relaxation when mixing +c and -c objects (#73977) 2023-12-01 11:02:53 -08:00
include/lld/Common [NFC][LLD] Refactor some copy-paste into the Common library (#67598) 2023-09-28 00:06:48 +02:00
MachO [lld][MachO] Prevent doubled N_SO when comp_dir and name absolute (#71608) 2023-11-08 15:55:22 -08:00
MinGW [LLD][COFF] Add -build-id flag to generate .buildid section. (#71433) 2023-12-05 14:57:45 -05:00
test [LLD][COFF] Add -build-id flag to generate .buildid section. (#71433) 2023-12-05 14:57:45 -05:00
tools/lld [lld] Do not include StringSwitch.h (NFC) 2023-08-23 09:20:14 -07:00
unittests Re-land [LLD] Allow usage of LLD as a library 2023-06-19 07:35:11 -04:00
utils [NFC][Py Reformat] Reformat python files in the rest of the dirs 2023-05-25 11:17:05 +02:00
wasm [lld][WebAssembly] Fix bitcode LTO order in archive parsing (#73095) 2023-11-28 17:44:32 -08:00
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt [lld] respect LLVM_EXTERNAL_LIT 2023-07-06 16:35:01 +02: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.