[compiler-rt] r219117 - [asan] Minor tweak to asan_device_setup.

Evgeniy Stepanov eugeni.stepanov at gmail.com
Mon Oct 6 05:45:39 PDT 2014


Author: eugenis
Date: Mon Oct  6 07:45:39 2014
New Revision: 219117

URL: http://llvm.org/viewvc/llvm-project?rev=219117&view=rev
Log:
[asan] Minor tweak to asan_device_setup.

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

Modified:
    compiler-rt/trunk/lib/asan/scripts/asan_device_setup

Modified: compiler-rt/trunk/lib/asan/scripts/asan_device_setup
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/scripts/asan_device_setup?rev=219117&r1=219116&r2=219117&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/scripts/asan_device_setup (original)
+++ compiler-rt/trunk/lib/asan/scripts/asan_device_setup Mon Oct  6 07:45:39 2014
@@ -90,9 +90,10 @@ echo '>> Remounting /system rw'
 $ADB root
 $ADB wait-for-device
 $ADB remount
+$ADB wait-for-device
 
 get_device_arch ARCH
-echo 'Target architecture: $ARCH'
+echo "Target architecture: $ARCH"
 ASAN_RT="libclang_rt.asan-$ARCH-android.so"
 
 if [[ x$revert == xyes ]]; then





More information about the llvm-commits mailing list