diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-02-16 10:22:12 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-02-16 10:22:12 +0000 |
commit | 84d30ba43a8c301de354cb1778db0a149ed2f81a (patch) | |
tree | c9e1ed68675491cf366c3753901d3b8d6e605d3f /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | e63bbd97a7f490f90b6bb6ee5ec555a70a89ff4c (diff) | |
download | llvm-84d30ba43a8c301de354cb1778db0a149ed2f81a.zip llvm-84d30ba43a8c301de354cb1778db0a149ed2f81a.tar.gz llvm-84d30ba43a8c301de354cb1778db0a149ed2f81a.tar.bz2 |
[asan] Support 'su' rooted devices in ASan setup script.
Android devices may not support 'adb root', but be rooted with 'su'
binary. This patch makes it possible to install ASAN to such
devices. When --use-su flag is specified, most 'adb ...' commangs are
changed to 'adb su -c "..."'.
Some other notes:
* 'readlink' changed to 'ls -l', since not all devices have readlink
in their firmware.
* removing ASan library step moved to very end, because 'su' may not
run properly without this library until shell will be restarted.
Patch by Dmitry <ripp at yandex-team dot ru>.
llvm-svn: 229368
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions