Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Issue 138153003: Switch to the "new" way of ASan deployment on Android devices. (Closed)

Created:
6 years, 11 months ago by eugenis
Modified:
6 years, 11 months ago
CC:
chromium-reviews, craigdh+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, timurrrr+watch_chromium.org, ilevy-cc_chromium.org, klundberg+watch_chromium.org, bruening+watch_chromium.org, glider+watch_chromium.org, frankf+watch_chromium.org, inferno, kcc2
Visibility:
Public.

Description

Switch to the "new" way of ASan deployment on Android devices. This will elimitate startup slowdown in ASan/Android tests, and improve overall run time very significantly. For the idea behind this change, refer to https://code.google.com/p/address-sanitizer/wiki/Android#Running_NDK_applications_with_ASan R=bulach@chromium.org, frankf@chromium.org, glider@chromium.org, navabi@chromium.org BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=246847

Patch Set 1 #

Total comments: 6

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 7

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : . #

Patch Set 7 : . #

Patch Set 8 : . #

Patch Set 9 : . #

Patch Set 10 : . #

Patch Set 11 : . #

Total comments: 2

Patch Set 12 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -31 lines) Patch
M build/android/pylib/valgrind_tools.py View 1 2 3 4 5 4 chunks +9 lines, -22 lines 0 comments Download
A tools/android/asan/asan_device_setup.sh View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +162 lines, -0 lines 0 comments Download
D tools/android/asan/asanwrapper.sh View 1 2 3 1 chunk +0 lines, -9 lines 0 comments Download
A tools/android/asan/libclang_rt.asan-arm-android.so View 1 2 3 4 5 6 7 8 9 10 11 Binary file 0 comments Download

Messages

Total messages: 14 (0 generated)
eugenis
I'm adding a new copy of libclang_rt.asan-arm-android.so, because the one in third_party/llvm-build is broken ATM, ...
6 years, 11 months ago (2014-01-17 12:32:09 UTC) #1
eugenis
Oh, and I want to use asan_device_setup.sh as standalone script, potentially outside of chromium, that's ...
6 years, 11 months ago (2014-01-17 12:38:39 UTC) #2
Alexander Potapenko
LGTM if others are ok with this temporary .so in the repository. https://codereview.chromium.org/138153003/diff/1/build/android/pylib/valgrind_tools.py File build/android/pylib/valgrind_tools.py ...
6 years, 11 months ago (2014-01-17 12:43:49 UTC) #3
eugenis
https://codereview.chromium.org/138153003/diff/1/build/android/pylib/valgrind_tools.py File build/android/pylib/valgrind_tools.py (right): https://codereview.chromium.org/138153003/diff/1/build/android/pylib/valgrind_tools.py#newcode101 build/android/pylib/valgrind_tools.py:101: "tools/android/asan/asan_device_setup.sh")) On 2014/01/17 12:43:50, Alexander Potapenko wrote: > Looks ...
6 years, 11 months ago (2014-01-17 12:48:08 UTC) #4
bulach
lgtm, this is neat! please wait for armand and frank. also, I think doing the ...
6 years, 11 months ago (2014-01-17 13:27:52 UTC) #5
frankf
lgtm https://codereview.chromium.org/138153003/diff/120001/build/android/pylib/valgrind_tools.py File build/android/pylib/valgrind_tools.py (right): https://codereview.chromium.org/138153003/diff/120001/build/android/pylib/valgrind_tools.py#newcode1 build/android/pylib/valgrind_tools.py:1: # Copyright (c) 2012 The Chromium Authors. All ...
6 years, 11 months ago (2014-01-18 01:55:56 UTC) #6
eugenis
https://codereview.chromium.org/138153003/diff/120001/build/android/pylib/valgrind_tools.py File build/android/pylib/valgrind_tools.py (right): https://codereview.chromium.org/138153003/diff/120001/build/android/pylib/valgrind_tools.py#newcode103 build/android/pylib/valgrind_tools.py:103: # Reboot is required after asan_device_setup.sh. On 2014/01/17 13:27:53, ...
6 years, 11 months ago (2014-01-20 13:51:17 UTC) #7
eugenis
PTAL
6 years, 11 months ago (2014-01-20 14:51:11 UTC) #8
eugenis
Removed ASAN_OPTIONS from asanwrapper. They are not necessary and can be set in the environment ...
6 years, 11 months ago (2014-01-21 11:33:09 UTC) #9
eugenis
On 2014/01/21 11:33:09, eugenis wrote: > Removed ASAN_OPTIONS from asanwrapper. They are not necessary and ...
6 years, 11 months ago (2014-01-21 15:09:07 UTC) #10
eugenis
On 2014/01/21 15:09:07, eugenis wrote: > On 2014/01/21 11:33:09, eugenis wrote: > > Removed ASAN_OPTIONS ...
6 years, 11 months ago (2014-01-22 13:53:32 UTC) #11
bulach
lgtm, thanks! tiny suggestion: https://codereview.chromium.org/138153003/diff/250002/tools/android/asan/asan_device_setup.sh File tools/android/asan/asan_device_setup.sh (right): https://codereview.chromium.org/138153003/diff/250002/tools/android/asan/asan_device_setup.sh#newcode6 tools/android/asan/asan_device_setup.sh:6: # Prepare Android device to ...
6 years, 11 months ago (2014-01-24 05:51:21 UTC) #12
eugenis
https://codereview.chromium.org/138153003/diff/250002/tools/android/asan/asan_device_setup.sh File tools/android/asan/asan_device_setup.sh (right): https://codereview.chromium.org/138153003/diff/250002/tools/android/asan/asan_device_setup.sh#newcode6 tools/android/asan/asan_device_setup.sh:6: # Prepare Android device to run ASan application. On ...
6 years, 11 months ago (2014-01-24 07:52:00 UTC) #13
eugenis
6 years, 11 months ago (2014-01-24 12:35:15 UTC) #14
Message was sent while issue was closed.
Committed patchset #12 manually as r246847 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698