[llvm] [LLVM][DWARF] Add support for .gnu_debuglink (PR #77715)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 11 13:02:28 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 3358c77b01fff71c586cc998dd80e06662d9e854 94ba6366d24b9d6afc43c3154ff9eb8d0b6feefd -- llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h llvm/include/llvm/Object/Binary.h llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/include/llvm/Object/Binary.h b/llvm/include/llvm/Object/Binary.h
index 0f974e4cc9..c0afd312c2 100644
--- a/llvm/include/llvm/Object/Binary.h
+++ b/llvm/include/llvm/Object/Binary.h
@@ -228,10 +228,11 @@ OwningBinary<T> &OwningBinary<T>::operator=(OwningBinary &&Other) {
   return *this;
 }
 
-//template <typename T> void OwningBinary<T>::operator()(OwningBinary &&Other) {
-//  Bin = std::move(Other.Bin);
-//  Buf = std::move(Other.Buf);
-//}
+// template <typename T> void OwningBinary<T>::operator()(OwningBinary &&Other)
+// {
+//   Bin = std::move(Other.Bin);
+//   Buf = std::move(Other.Buf);
+// }
 
 template <typename T>
 std::pair<std::unique_ptr<T>, std::unique_ptr<MemoryBuffer>>

``````````

</details>


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


More information about the llvm-commits mailing list