[lld] [lld] load rpaths from tbd files (PR #134925)

via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 8 13:22:18 PDT 2025


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 HEAD~1 HEAD --extensions cpp -- lld/MachO/InputFiles.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/lld/MachO/InputFiles.cpp b/lld/MachO/InputFiles.cpp
index 97b3ed8eb..67e24f758 100644
--- a/lld/MachO/InputFiles.cpp
+++ b/lld/MachO/InputFiles.cpp
@@ -1880,7 +1880,7 @@ DylibFile::DylibFile(const InterfaceFile &interface, DylibFile *umbrella,
   compatibilityVersion = interface.getCompatibilityVersion().rawValue();
   currentVersion = interface.getCurrentVersion().rawValue();
   for (auto rpath : interface.rpaths())
-        rpaths.push_back(saver().save(rpath.second));
+    rpaths.push_back(saver().save(rpath.second));
 
   if (config->printEachFile)
     message(toString(this));

``````````

</details>


https://github.com/llvm/llvm-project/pull/134925


More information about the llvm-commits mailing list