[llvm] [GSYM] Callsites: Add data format support and loading from YAML (PR #109781)

via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 24 09:06:40 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 f41f6ea1f33c4f5e7c94f3d155e44292d1809c50 72855aea1541237a14e4450b2340ffdba99c6746 --extensions h,cpp -- llvm/include/llvm/DebugInfo/GSYM/CallSiteInfo.h llvm/lib/DebugInfo/GSYM/CallSiteInfo.cpp llvm/include/llvm/DebugInfo/GSYM/FunctionInfo.h llvm/include/llvm/DebugInfo/GSYM/GsymCreator.h llvm/include/llvm/DebugInfo/GSYM/GsymReader.h llvm/lib/DebugInfo/GSYM/FunctionInfo.cpp llvm/lib/DebugInfo/GSYM/GsymCreator.cpp llvm/lib/DebugInfo/GSYM/GsymReader.cpp llvm/tools/llvm-gsymutil/llvm-gsymutil.cpp llvm/unittests/DebugInfo/GSYM/GSYMTest.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/unittests/DebugInfo/GSYM/GSYMTest.cpp b/llvm/unittests/DebugInfo/GSYM/GSYMTest.cpp
index dfb7fa004d..33f53de2e7 100644
--- a/llvm/unittests/DebugInfo/GSYM/GSYMTest.cpp
+++ b/llvm/unittests/DebugInfo/GSYM/GSYMTest.cpp
@@ -217,7 +217,7 @@ TEST(GSYMTest, TestFunctionInfoDecodeErrors) {
   FW.fixup32(7, FixupOffset); // Write an invalid InfoType enumeration value
   FW.writeU32(0); // LineTableInfo InfoType data length.
   TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
-      "0x00000008: unsupported InfoType 7");
+                              "0x00000008: unsupported InfoType 7");
 }
 
 static void TestFunctionInfoEncodeError(llvm::endianness ByteOrder,

``````````

</details>


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


More information about the llvm-commits mailing list