[Lldb-commits] [PATCH] D39681: Implement core dump debugging for PPC64le

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 6 10:18:09 PST 2017


clayborg added inline comments.


================
Comment at: source/Plugins/Process/elf-core/ThreadElfCore.h:183
   lldb_private::DataExtractor m_vregset_data;
+  lldb_private::DataExtractor m_vsregset_data; /* For PPC VSX registers. */
 
----------------
labath wrote:
> gpregset and fpregset sound fairly generic, but these other two sound really architecture specific. Since ThreadElfCore does not really do anything with these, just pass them to the register context, I'm thinking that we could just have a map of all register sets (something like `DenseMap<uint32_t, DataExtractor>`). Then we can just pass that to the register context constructor, and let it figure out what to do with it. What do you think?
That sounds like a good idea to me.


https://reviews.llvm.org/D39681





More information about the lldb-commits mailing list