[clang] [llvm] [InstallAPI] Add support for parsing dSYMs (PR #86852)

via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 27 11:49:41 PDT 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 dcd0f2b6103072b74b446c2d1e9ecec60001a28c 9ddf01a4f28df19914aa393b1ac518410693af5b -- clang/include/clang/InstallAPI/DylibVerifier.h clang/include/clang/InstallAPI/MachO.h clang/lib/InstallAPI/DylibVerifier.cpp clang/tools/clang-installapi/Options.cpp clang/tools/clang-installapi/Options.h llvm/include/llvm/TextAPI/DylibReader.h llvm/include/llvm/TextAPI/Record.h llvm/lib/TextAPI/BinaryReader/DylibReader.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/TextAPI/BinaryReader/DylibReader.cpp b/llvm/lib/TextAPI/BinaryReader/DylibReader.cpp
index 2f8a2a277d..6d4912817a 100644
--- a/llvm/lib/TextAPI/BinaryReader/DylibReader.cpp
+++ b/llvm/lib/TextAPI/BinaryReader/DylibReader.cpp
@@ -434,8 +434,7 @@ DylibReader::get(MemoryBufferRef Buffer) {
   return convertToInterfaceFile(*SlicesOrErr);
 }
 
-static void DWARFErrorHandler(Error err) { /**/
-}
+static void DWARFErrorHandler(Error err) { /**/ }
 
 static SymbolToSourceLocMap
 accumulateLocs(MachOObjectFile &Obj,

``````````

</details>


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


More information about the cfe-commits mailing list