aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineTraceMetrics.cpp
diff options
context:
space:
mode:
authorSiva Chandra <sivachandra@google.com>2015-05-29 00:14:16 +0000
committerSiva Chandra <sivachandra@google.com>2015-05-29 00:14:16 +0000
commitde4c598ccf35f8f58b736e72c50916e2b26faec1 (patch)
tree9adddff5556138348632394c26976c7baee7144c /llvm/lib/CodeGen/MachineTraceMetrics.cpp
parent0ea9d1e7531e2ba74691c5e0836b224c95c0ac95 (diff)
downloadllvm-de4c598ccf35f8f58b736e72c50916e2b26faec1.zip
llvm-de4c598ccf35f8f58b736e72c50916e2b26faec1.tar.gz
llvm-de4c598ccf35f8f58b736e72c50916e2b26faec1.tar.bz2
[TestLldbGdbServer and TestGdbRemoteXXX] Use "ls -l" instead of "readlink"
Summary: Old Android devices, for example API 16, do not have the "readlink" command. To take care of such devices, this commit changes to use "ls -l" instead of "readlink" to get the lldb-server exe path. The tests fixed with this change for an Android API 16 arm device are: TestGdbRemoteAttach TestGdbRemoteAuxvSupport TestGdbRemoteExpeditedRegisters TestGdbRemoteKill TestGdbRemoteProcessInfo TestGdbRemoteSegFault TestGdbRemoteThreadsInStopReply TestGdbRemote_qThreadStopInfo Further, all tests in TestLldbGdbServer pass (previously erroring out), except one which times out. Test Plan: Run dosep.py with 8 test threads targetting Android API 16 device. Reviewers: vharron, ovyalov Reviewed By: ovyalov Subscribers: tberghammer, aemerson, lldb-commits Differential Revision: http://reviews.llvm.org/D10107 llvm-svn: 238532
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.cpp')
0 files changed, 0 insertions, 0 deletions