llvm-project/lld
Sam Clegg 77c1def71a Use ErrorOS for log messages as well as error
log are also diagnostics so it seems like they should to
the same place as errors and debug messages.

Without this change when I enable --verbose those messages
go to stdout, but when I enable "-mllvm -debug" those messages
go to stderr (because dbgs() goes to stderr by default).

So I end up having to do this a lot:
 lld <args> > output_message 2>&1

Differential Revision: https://reviews.llvm.org/D41033

llvm-svn: 320427
2017-12-11 21:57:31 +00:00
..
COFF Prefer `ArrayRef` over `const std::vector&` 2017-12-08 01:09:21 +00:00
Common Use ErrorOS for log messages as well as error 2017-12-11 21:57:31 +00:00
ELF [ELF] When a relocation is out of range print the value and the range 2017-12-11 20:47:21 +00:00
MinGW [MinGW] Ignore the --build-id, --pie-executable and --disable-auto-image-base options 2017-11-15 08:18:28 +00:00
cmake/modules [lld] Switch to add_llvm_install_targets 2017-12-01 04:17:45 +00:00
docs [docs] Update doc building instructions 2017-12-05 23:31:26 +00:00
include/lld Prefer `ArrayRef` over `const std::vector&` 2017-12-08 01:09:21 +00:00
lib MachONormalizedFile.h: Remove unimplemented function 2017-11-22 21:10:19 +00:00
test Use ErrorOS for log messages as well as error 2017-12-11 21:57:31 +00:00
tools/lld [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
unittests [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
utils Add a script to run various benchmarks and send the result to lnt. 2017-11-14 16:40:30 +00:00
wasm [WebAssembly] Preserve ordering of global symbols 2017-12-11 21:52:21 +00:00
.arcconfig [lld] Set up .arcconfig to point to new Diffusion LLD repository 2017-12-06 20:56:23 +00:00
.clang-format
.gitignore
CMakeLists.txt [WebAssembly] Initial wasm linker implementation 2017-11-17 18:14:09 +00:00
CODE_OWNERS.TXT [WebAssembly] Initial wasm linker implementation 2017-11-17 18:14:09 +00:00
LICENSE.TXT Update copyright year to 2016. 2016-03-30 22:40:59 +00:00
README.md [docs] Formatting-only change 2017-12-05 23:28:04 +00:00

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 69cff27cf63304a3f766e72dc9010407eced5c60635254a3c31496e1183ef9e1.