summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
author Jiyong Park <jiyong@google.com> 2019-02-01 10:50:50 +0900
committer Jiyong Park <jiyong@google.com> 2019-02-01 11:26:04 +0900
commit8222663f1b35c88540dbc5a7179ca346098d6a0b (patch)
treea675f7f5aee95a4ac1aef70cef48b7aa557443d7 /java/java_test.go
parentdf819e6b0c84e0c21525b3542fe59dd5df6d31d6 (diff)
Fix: runtime apex is not instrumented with sanitizer
Fixing the problem that IsSanitizerEnabled always returns false due to the different sanitizer names from config.SanitizerDevice() and sanitizerType.String(). Bug: 123708856 Test: SANITIZE_TARGET=hwaddress m com.android.runtime.release $ ls -al out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_hwasan_com.android.runtime.release/image.apex/lib | wc -l 34 $ ls -al out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_hwasan_com.android.runtime.release/image.apex/lib64 | wc -l 35 $ ls -al out/target/product/blueline/apex/com.android.runtime.release/lib | wc -l 34 $ ls -al out/target/product/blueline/apex/com.android.runtime.release/lib64 | wc -l 35 Test: inspect out/soong/build.ninja - Variant of com.android.runtime.release is "android_common_hwasan_com.android.runtime.release" - Dependencies of com.android.runtime.release are hwasan variants: e.g., out/soong/.intermediates/bionic/libc/libc/android_arm64_armv8-2a_kryo385_core_shared_hwasan_com.android.runtime.release/libc.so Test: ls out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_hwasan_com.android.runtime.release/image.apex/lib64/*.so | xargs readelf -d | grep libclang_rt.hwasan | wc -l 29 Change-Id: Idbb1f68a3ea6bdd02351d6f6048c3eedb9cf32d2
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions