[PATCH] D63104: Add GSYM utility files along with unit tests.

Greg Clayton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 18 08:40:19 PDT 2019


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

Converted AddressRange objects into a class so we can ensure consistent and correct results when using accessors.

Converted AddressRanges into a class instead of a typedef to a vector of AddressRange objects. Converted all places that were directly using the vector to use the class. The AddressRanges now will combine intersecting address ranges and not add empty AddressRange objects to a list. This will help normalize address range objects so we can emit them efficiently into the final GSYM file.


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

https://reviews.llvm.org/D63104

Files:
  include/llvm/DebugInfo/GSYM/FileEntry.h
  include/llvm/DebugInfo/GSYM/FunctionInfo.h
  include/llvm/DebugInfo/GSYM/InlineInfo.h
  include/llvm/DebugInfo/GSYM/LineEntry.h
  include/llvm/DebugInfo/GSYM/Range.h
  include/llvm/DebugInfo/GSYM/StringTable.h
  lib/DebugInfo/CMakeLists.txt
  lib/DebugInfo/GSYM/CMakeLists.txt
  lib/DebugInfo/GSYM/FunctionInfo.cpp
  lib/DebugInfo/GSYM/InlineInfo.cpp
  lib/DebugInfo/GSYM/Range.cpp
  unittests/DebugInfo/CMakeLists.txt
  unittests/DebugInfo/GSYM/CMakeLists.txt
  unittests/DebugInfo/GSYM/GSYMTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63104.205362.patch
Type: text/x-patch
Size: 41972 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190618/a9335cd1/attachment.bin>


More information about the llvm-commits mailing list