[Lldb-commits] [PATCH] Fix missing data in GetProcessInfo on linux
Tamas Berghammer
tberghammer at google.com
Thu Mar 12 07:53:14 PDT 2015
Hi ovyalov,
Fix missing data in GetProcessInfo on linux
Fill in the missing part of the architecture in GetProcessInfo from the HostArchitecture (e.g. Environment).
http://reviews.llvm.org/D8292
Files:
source/Host/linux/Host.cpp
Index: source/Host/linux/Host.cpp
===================================================================
--- source/Host/linux/Host.cpp
+++ 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.21831.patch
Type: text/x-patch
Size: 587 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150312/4a52fe09/attachment.bin>
More information about the lldb-commits
mailing list