llvm-capstone/lld
Alvin Wong 8fa0cfeb61 [LLD][COFF] Add /inferasanlibs to lld-link as ignored flag
MSVC link.exe added this flag and MS STL started using this flag in
.drectve [1] when compiling with Clang with asan enabled, as reported
on https://github.com/llvm/llvm-project/issues/56300. This causes issues
with lld-link because it rejects any unknown flags in .drective sections.

As dc07867dc9 noted that, when using Clang
as the driver it explicitly passes the proper asan libraries. Therefore
it should be acceptable to ignore this flag in lld-link to at least
unbreak building with clang-cl and linking with lld-link.

[1]: faaf094ee1/stl/inc/__msvc_sanitizer_annotate_container.hpp (L35)

Differential Revision: https://reviews.llvm.org/D149023
2023-04-24 22:06:34 +08: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 /inferasanlibs to lld-link as ignored flag 2023-04-24 22:06:34 +08:00
Common [LLD] Add --lto-CGO[0-3] option 2023-02-15 17:34:35 +00:00
docs [LLD][ARM] Handle .ARM.exidx sections at non-zero output sec offset 2023-04-14 10:09:46 +01:00
ELF [LLD][ELF][AArch64] Add AArch64 short range thunk support 2023-04-24 13:48:22 +01:00
include/lld/Common [LLD] Add --lto-CGO[0-3] option 2023-02-15 17:34:35 +00:00
MachO [lld-macho] Tweak the names we give to archive members 2023-04-20 17:24:06 -04:00
MinGW [NFC][TargetParser] Replace uses of llvm/Support/Host.h 2023-02-10 09:59:46 +00:00
test [LLD][COFF] Add /inferasanlibs to lld-link as ignored flag 2023-04-24 22:06:34 +08:00
tools/lld [llvm-driver] Pass extra arguments to tools 2023-02-10 19:42:32 +00:00
utils
wasm [lld][WebAssembly] stub objects: Fix handling of LTO libcall dependencies 2023-04-13 20:32:05 -07:00
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt Revert "Revert "Revert "[CMake] Bumps minimum version to 3.20.0.""" 2023-04-15 20:12:24 +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.