labath added a comment.

Thank you for updating that. Let me know what the make_core investigation 
uncovers.



================
Comment at: 
source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp:164
+  case llvm::Triple::mips64el:
+    const RegisterContextLinux_mips64 *reg_context_mips64;
+    reg_context_mips64 = (const RegisterContextLinux_mips64 *)
----------------
no need to fiddle with pointers:
`const auto &context = static_cast<const RegisterContextLinux_mips64 
&>(GetRegisterInfoInterface());`


================
Comment at: source/Plugins/Process/elf-core/ThreadElfCore.h:22
 
+#define MIPS_LINUX_PR_STATUS_SIZE_O32 96
+#define MIPS_LINUX_PR_STATUS_SIZE_N32 72
----------------
Thank you for introducing these constants. Since we already started using 
constexpr variables for constants, let's make these such as well. You could 
even hide these into the cpp file if you move the GetSize function there (it's 
grown so big it does not belong to a header anyway).


https://reviews.llvm.org/D30457



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to