[Lldb-commits] [lldb] r283414 - Fix build error on Android again.
Zachary Turner via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 5 16:51:13 PDT 2016
Author: zturner
Date: Wed Oct 5 18:51:13 2016
New Revision: 283414
URL: http://llvm.org/viewvc/llvm-project?rev=283414&view=rev
Log:
Fix build error on Android again.
This one was my fault since I can't compile Android.
Modified:
lldb/trunk/source/Host/linux/ProcessLauncherLinux.cpp
Modified: lldb/trunk/source/Host/linux/ProcessLauncherLinux.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/linux/ProcessLauncherLinux.cpp?rev=283414&r1=283413&r2=283414&view=diff
==============================================================================
--- lldb/trunk/source/Host/linux/ProcessLauncherLinux.cpp (original)
+++ lldb/trunk/source/Host/linux/ProcessLauncherLinux.cpp Wed Oct 5 18:51:13 2016
@@ -31,7 +31,7 @@ static void FixupEnvironment(Args &env)
// path to /system/bin. It is required because the default path used by
// execve() is wrong on android.
static const char *path = "PATH=";
- for (auto &entry : entries) {
+ for (auto &entry : env.entries()) {
if (entry.ref.startswith(path))
return;
}
More information about the lldb-commits
mailing list