[lld] [lld/COFF] Handle -start-lib / -end-lib better in /reproduce: output (PR #119752)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 12 12:05:14 PST 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff d5fe6332c9f25590b9878ad31d6461ea581e0fa5 2ca1f5d3627def37e0e8b96e58425ea496ff9b2a --extensions h,cpp -- lld/COFF/Driver.cpp lld/COFF/Driver.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lld/COFF/Driver.cpp b/lld/COFF/Driver.cpp
index 43287530d8..6bec770e72 100644
--- a/lld/COFF/Driver.cpp
+++ b/lld/COFF/Driver.cpp
@@ -2346,9 +2346,9 @@ void LinkerDriver::linkerMain(ArrayRef<const char *> argsArr) {
if (tar) {
llvm::TimeTraceScope timeScope("Reproducer: response file");
- tar->append("response.txt",
- createResponseFile(args,
- ArrayRef<StringRef>(searchPaths).slice(1)));
+ tar->append(
+ "response.txt",
+ createResponseFile(args, ArrayRef<StringRef>(searchPaths).slice(1)));
}
// Handle /largeaddressaware
``````````
</details>
https://github.com/llvm/llvm-project/pull/119752
More information about the llvm-commits
mailing list