Author: fjricci
Date: Thu May 19 15:57:34 2016
New Revision: 270126

URL: http://llvm.org/viewvc/llvm-project?rev=270126&view=rev
Log:
Make sure to update Target arch if environment changed

Summary: Fixes "target list" for non-android linux platforms (ie gnu, gnueabi)

Reviewers: jasonmolenda, tfiala, clayborg, tberghammer

Subscribers: tberghammer, danalbert, lldb-commits, sas

Differential Revision: http://reviews.llvm.org/D18631

Change by Francis Ricci <fjri...@fb.com>

This is a cherry-pick of r265419

Modified:
    lldb/branches/release_38/source/Target/Target.cpp

Modified: lldb/branches/release_38/source/Target/Target.cpp
URL: 
http://llvm.org/viewvc/llvm-project/lldb/branches/release_38/source/Target/Target.cpp?rev=270126&r1=270125&r2=270126&view=diff
==============================================================================
--- lldb/branches/release_38/source/Target/Target.cpp (original)
+++ lldb/branches/release_38/source/Target/Target.cpp Thu May 19 15:57:34 2016
@@ -1277,7 +1277,7 @@ Target::SetArchitecture (const ArchSpec
                                               os_ver_changed,
                                               env_changed);
                 
-                if (!arch_changed && !vendor_changed && !os_changed)
+                if (!arch_changed && !vendor_changed && !os_changed && 
!env_changed)
                     replace_local_arch = false;
             }
         }


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

Reply via email to