[PATCH] D143793: Add the ability to segment GSYM files.

Greg Clayton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 23 13:32:23 PST 2023


clayborg updated this revision to Diff 499965.
clayborg added a comment.

Address review comments:

- createSegment now can return an error if the segment size is too small
- added code to detect segment sizes that are too small to contain even a single function info
- added test code to test for small segment sizes


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143793/new/

https://reviews.llvm.org/D143793

Files:
  llvm/include/llvm/DebugInfo/GSYM/FileWriter.h
  llvm/include/llvm/DebugInfo/GSYM/FunctionInfo.h
  llvm/include/llvm/DebugInfo/GSYM/GsymCreator.h
  llvm/include/llvm/DebugInfo/GSYM/LookupResult.h
  llvm/lib/DebugInfo/GSYM/FunctionInfo.cpp
  llvm/lib/DebugInfo/GSYM/GsymCreator.cpp
  llvm/tools/llvm-gsymutil/llvm-gsymutil.cpp
  llvm/unittests/DebugInfo/GSYM/GSYMTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143793.499965.patch
Type: text/x-patch
Size: 41343 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230223/083a7461/attachment.bin>


More information about the llvm-commits mailing list