llvm-capstone/lld
Thomas Lively 067f005500 [lld][WebAssembly] Fix segfault in map file support
The code previously assumed that `getChunk` would return a non-null pointer for
every symbol, but in fact it only returns non-null pointers for DefinedFunction
and DefinedData symbols. This patch fixes the segfault by checking whether
`getChunk` returns a null for each symbol and skipping the mapping output for
any symbols for which it does.

Differential Revision: https://reviews.llvm.org/D88369
2021-02-09 14:42:43 -08:00
..
cmake/modules
COFF Revert "[PDB] Defer relocating .debug$S until commit time and parallelize it" 2021-01-28 13:17:27 -08:00
Common
docs [ELF] Inspect -EL & -EB for OUTPUT_FORMAT(default, big, little) 2021-02-08 10:34:57 -08:00
ELF [ELF] Drop Android specific workaround -m aarch64_elf64_le_vec 2021-02-09 00:43:10 -08:00
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
MachO [lld/mac] Implement -u flag 2021-02-09 08:23:06 -05:00
MinGW [LLD] [MinGW] Pass the --demangle and --no-demangle options to the COFF linker 2021-01-07 10:02:19 +02:00
test [lld][WebAssembly] Fix segfault in map file support 2021-02-09 14:42:43 -08:00
tools/lld
unittests
utils
wasm [lld][WebAssembly] Fix segfault in map file support 2021-02-09 14:42:43 -08:00
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt Revert "[CMake] Actually require python 3.6 or greater" 2021-01-29 12:03:32 -08:00
CODE_OWNERS.TXT
LICENSE.TXT
README.md [doc] Place sha256 in lld/README.md into backticks 2021-01-12 10:19:40 -08:00

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.