[llvm] Gsymutil aggregation similar to DwarfDump --verify (PR #81154)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 8 07:59:03 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 5452cbc4a6bfb905fedeacaa6f27895e249da1e5 31fe622aadf521f72e05c0ff1f3fe506671a1228 -- llvm/include/llvm/DebugInfo/GSYM/OutputAggregator.h llvm/include/llvm/DebugInfo/GSYM/DwarfTransformer.h llvm/include/llvm/DebugInfo/GSYM/GsymCreator.h llvm/include/llvm/DebugInfo/GSYM/ObjectFileTransformer.h llvm/lib/DebugInfo/GSYM/DwarfTransformer.cpp llvm/lib/DebugInfo/GSYM/GsymCreator.cpp llvm/lib/DebugInfo/GSYM/ObjectFileTransformer.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/lib/DebugInfo/GSYM/DwarfTransformer.cpp b/llvm/lib/DebugInfo/GSYM/DwarfTransformer.cpp
index c2f9de6579..0d4bf5f864 100644
--- a/llvm/lib/DebugInfo/GSYM/DwarfTransformer.cpp
+++ b/llvm/lib/DebugInfo/GSYM/DwarfTransformer.cpp
@@ -650,8 +650,9 @@ llvm::Error DwarfTransformer::verify(StringRef GsymPath,
auto FI = Gsym->getFunctionInfo(*FuncAddr);
if (!FI)
- return createStringError(std::errc::invalid_argument,
- "failed to extract function info for address 0x%" PRIu64, *FuncAddr);
+ return createStringError(
+ std::errc::invalid_argument,
+ "failed to extract function info for address 0x%" PRIu64, *FuncAddr);
for (auto Addr = *FuncAddr; Addr < *FuncAddr + FI->size(); ++Addr) {
const object::SectionedAddress SectAddr{
``````````
</details>
https://github.com/llvm/llvm-project/pull/81154
More information about the llvm-commits
mailing list