diff options
author | Pavel Labath <labath@google.com> | 2018-03-20 13:46:05 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2018-03-20 13:46:05 +0000 |
commit | f7174ef573b2b53d7bfbff6b200ce625d1ab3551 (patch) | |
tree | 1ed93641f4bbd821cab1659d0e9e752f291d251c /llvm/lib/DebugInfo/CodeView/DebugChecksumsSubsection.cpp | |
parent | 2c4231d8887935876d428a6f2ff23478e4825617 (diff) | |
download | llvm-f7174ef573b2b53d7bfbff6b200ce625d1ab3551.zip llvm-f7174ef573b2b53d7bfbff6b200ce625d1ab3551.tar.gz llvm-f7174ef573b2b53d7bfbff6b200ce625d1ab3551.tar.bz2 |
[LLDB] Fix TestTargetXMLArch's expected arch
Summary:
When running on an architecture other than x86_64, the
target.ConnectRemote() part of the test may add platform information to
the target triple.
It was observed that this happens at Process::CompleteAttach() method,
after the platform_sp->IsCompatibleArchitecture() check fails.
This method then calls platform_sp->GetPlatformForArchitecture(), that
on a Linux machine ends up returning a generic Linux platform, that then
ends up getting added to the original target architecture.
Reviewers: clayborg, labath, jasonmolenda
Reviewed By: labath
Subscribers: alexandreyy, lbianc
Differential Revision: https://reviews.llvm.org/D44022
Patch by Leandro Lupori <leandro.lupori@gmail.com>.
llvm-svn: 327981
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/DebugChecksumsSubsection.cpp')
0 files changed, 0 insertions, 0 deletions