diff options
| -rwxr-xr-x | compiler-rt/lib/asan/scripts/asan_device_setup.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/asan/scripts/asan_device_setup.sh b/compiler-rt/lib/asan/scripts/asan_device_setup.sh index eeb64f3c974..25fb26af9f0 100755 --- a/compiler-rt/lib/asan/scripts/asan_device_setup.sh +++ b/compiler-rt/lib/asan/scripts/asan_device_setup.sh @@ -75,6 +75,7 @@ ASAN_RT="libclang_rt.asan-arm-android.so" if [[ x$revert == xyes ]]; then echo '>> Uninstalling ASan' $ADB root + $ADB wait-for-device $ADB remount $ADB shell mv /system/bin/app_process.real /system/bin/app_process $ADB shell rm /system/bin/asanwrapper @@ -115,6 +116,7 @@ mkdir "$TMPDIROLD" echo '>> Remounting /system rw' $ADB root +$ADB wait-for-device $ADB remount echo '>> Copying files from the device' |

