[asan] Minor tweak to asan_device_setup.

Add another wait-for-device which may fix a flaky setup error.
Fix output message.

llvm-svn: 219117
This commit is contained in:
Evgeniy Stepanov 2014-10-06 12:45:39 +00:00
parent d2a3f4765b
commit faef77480d
1 changed files with 2 additions and 1 deletions

View File

@ -90,9 +90,10 @@ echo '>> Remounting /system rw'
$ADB root $ADB root
$ADB wait-for-device $ADB wait-for-device
$ADB remount $ADB remount
$ADB wait-for-device
get_device_arch ARCH get_device_arch ARCH
echo 'Target architecture: $ARCH' echo "Target architecture: $ARCH"
ASAN_RT="libclang_rt.asan-$ARCH-android.so" ASAN_RT="libclang_rt.asan-$ARCH-android.so"
if [[ x$revert == xyes ]]; then if [[ x$revert == xyes ]]; then