LLVM/LLD

From Gentoo Wiki
< LLVM
Jump to:navigation Jump to:search
This article is a stub. Please help out by expanding it - how to get started.

LLD is a linker provided by the LLVM project and can be used as an alternative to the standard linker, BFD. It supports more modern features than BFD and tightly integrates with Clang and the LLVM toolchain, especially when link-time optimizing a system.

Installation

USE flags

USE flags for llvm-core/lld The LLVM linker (link editor)

+debug Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
verify-sig Verify upstream signatures on distfiles
zstd Enable support for ZSTD compression

Emerge

root #emerge --ask llvm-core/lld