[llvm-branch-commits] [lldb] r270126 - Make sure to update Target arch if environment changed
Francis Ricci via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu May 19 13:57:35 PDT 2016
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 <fjricci at 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;
}
}
More information about the llvm-branch-commits
mailing list