[Lldb-commits] [PATCH] Fix missing data in GetProcessInfo on linux

Tamas Berghammer tberghammer at google.com
Fri Mar 13 04:18:51 PDT 2015


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D8292

Files:
  lldb/trunk/source/Host/linux/Host.cpp

Index: lldb/trunk/source/Host/linux/Host.cpp
===================================================================
--- lldb/trunk/source/Host/linux/Host.cpp
+++ lldb/trunk/source/Host/linux/Host.cpp
@@ -26,6 +26,7 @@
 #include "lldb/Target/Process.h"
 
 #include "lldb/Host/Host.h"
+#include "lldb/Host/HostInfo.h"
 #ifdef __ANDROID_NDK__
 #include "lldb/Host/android/Android.h"
 #endif
@@ -322,6 +323,7 @@
 
     process_info.SetProcessID(pid);
     process_info.GetExecutableFile().SetFile(exe_path, false);
+    process_info.GetArchitecture().MergeFrom(HostInfo::GetArchitecture());
 
     lldb::DataBufferSP buf_sp;

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8292.21917.patch
Type: text/x-patch
Size: 620 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150313/1abebbdc/attachment.bin>


More information about the lldb-commits mailing list