[all-commits] [llvm/llvm-project] 74e76a: [LinkerWrapper] Switch to add_clang_tool() macro
Andrew Ng via All-commits
all-commits at lists.llvm.org
Thu Apr 13 23:36:24 PDT 2023
Branch: refs/heads/release/16.x
Home: https://github.com/llvm/llvm-project
Commit: 74e76ab7b6f8b2847521950f31d56bcaedc1678d
https://github.com/llvm/llvm-project/commit/74e76ab7b6f8b2847521950f31d56bcaedc1678d
Author: Evangelos Foutras <https://foutrelis.com/>
Date: 2023-04-14 (Fri, 14 Apr 2023)
Changed paths:
M clang/tools/clang-linker-wrapper/CMakeLists.txt
Log Message:
-----------
[LinkerWrapper] Switch to add_clang_tool() macro
Summary:
This creates install-clang-linker-wrapper{,-stripped} targets which are
useful for Linux distro builds when using LLVM_DISTRIBUTION_COMPONENTS.
Fixes: https://bugs.archlinux.org/task/77814
Differential Revision: https://reviews.llvm.org/D145862
(cherry picked from commit c2aabcfc8395ba30884dd3c1ecc2b192ae85a78d)
Commit: b5aa566a7e5326e9aecf795a3fef148798092715
https://github.com/llvm/llvm-project/commit/b5aa566a7e5326e9aecf795a3fef148798092715
Author: Andrew Ng <andrew.ng at sony.com>
Date: 2023-04-14 (Fri, 14 Apr 2023)
Changed paths:
M llvm/lib/Support/raw_ostream.cpp
Log Message:
-----------
[Support] Improve Windows performance of buffered raw_ostream
The "preferred" buffer size for raw_ostream is set to BUFSIZ which on
Windows is only 512. This results in more calls to write and this
overhead can have a significant negative impact on performance,
especially when Anti-Virus is also involved.
Therefore increase the "preferred" buffer size to 16KB for Windows.
One example of where this helps is the LLD --Map option which dumps out
the symbol map for a link. In a link of UE4, this change has been seen
to improve the performance of the symbol map writing by more than a
factor of 6.
Differential Revision: https://reviews.llvm.org/D147340
(cherry picked from commit a3aa916d019c8deb10c750acecdef650b3365f22)
Compare: https://github.com/llvm/llvm-project/compare/02aa966c1351...b5aa566a7e53
More information about the All-commits
mailing list