[Lldb-commits] [PATCH] D40311: elf-core: Split up parsing code into os-specific functions

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 21 08:05:33 PST 2017


labath created this revision.

We've had a single function responsible for splitting a core segment
into notes, and parsing the notes themselves, bearing in mind variations
between 4 supported OS types. This commit splits that code into 5
pieces:

- (os-independent) code for splitting a segment into individual notes
- per-os function for parsing the notes into thread information


https://reviews.llvm.org/D40311

Files:
  source/Plugins/Process/elf-core/ProcessElfCore.cpp
  source/Plugins/Process/elf-core/ProcessElfCore.h
  source/Plugins/Process/elf-core/ThreadElfCore.cpp
  source/Plugins/Process/elf-core/ThreadElfCore.h
  source/Plugins/Process/elf-core/elf-core-enums.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40311.123810.patch
Type: text/x-patch
Size: 25853 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20171121/256f5cdf/attachment-0001.bin>


More information about the lldb-commits mailing list