summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-10-05 23:51:13 +0000
committerZachary Turner <zturner@google.com>2016-10-05 23:51:13 +0000
commiteb61f388fae0f62c5692512b2605336149fa026f (patch)
treeb3b689d8fb81cf145bfd9852a6d0d98fe1a54e2f
parent97d2c4011b9ccdfb9da2c5d4cb6917c9a2a18225 (diff)
downloadbcm5719-llvm-eb61f388fae0f62c5692512b2605336149fa026f.tar.gz
bcm5719-llvm-eb61f388fae0f62c5692512b2605336149fa026f.zip
Fix build error on Android again.
This one was my fault since I can't compile Android. llvm-svn: 283414
-rw-r--r--lldb/source/Host/linux/ProcessLauncherLinux.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/linux/ProcessLauncherLinux.cpp b/lldb/source/Host/linux/ProcessLauncherLinux.cpp
index d88080780b1..4a51f8f4f53 100644
--- a/lldb/source/Host/linux/ProcessLauncherLinux.cpp
+++ b/lldb/source/Host/linux/ProcessLauncherLinux.cpp
@@ -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;
}
OpenPOWER on IntegriCloud