Show coverage for libm too.

Test: manual
Change-Id: Idf50d918ad53ff2d5a3097dfcbd5a392d6f0ed31
This commit is contained in:
Elliott Hughes 2020-08-12 10:25:45 -07:00
parent a4110def5c
commit f762275e6a
2 changed files with 3 additions and 3 deletions

View File

@ -54,9 +54,12 @@ ${LLVM_COV} show \
--instr-profile=${HOST_PROFDATA_DIR}/bionic.profdata \ --instr-profile=${HOST_PROFDATA_DIR}/bionic.profdata \
--format=html \ --format=html \
$OUT/symbols/apex/com.android.runtime/lib64/bionic/libc.so \ $OUT/symbols/apex/com.android.runtime/lib64/bionic/libc.so \
--object=$OUT/symbols/apex/com.android.runtime/lib64/bionic/libm.so \
--object=$OUT/symbols/data/nativetest64/bionic-unit-tests/bionic-unit-tests \ --object=$OUT/symbols/data/nativetest64/bionic-unit-tests/bionic-unit-tests \
--object=$OUT/symbols/apex/com.android.runtime/lib/bionic/libc.so \ --object=$OUT/symbols/apex/com.android.runtime/lib/bionic/libc.so \
--object=$OUT/symbols/apex/com.android.runtime/lib/bionic/libm.so \
--object=$OUT/symbols/data/nativetest/bionic-unit-tests/bionic-unit-tests \ --object=$OUT/symbols/data/nativetest/bionic-unit-tests/bionic-unit-tests \
/proc/self/cwd/bionic/libc \ /proc/self/cwd/bionic/libc \
/proc/self/cwd/bionic/libm \
--output-dir=${HOST_PROFDATA_DIR}/html \ --output-dir=${HOST_PROFDATA_DIR}/html \
--show-region-summary=false --show-region-summary=false

View File

@ -1,5 +1,3 @@
bionic_coverage = false
// //
// libm.so and libm.a for target. // libm.so and libm.a for target.
// //
@ -488,7 +486,6 @@ cc_library {
include_dirs: ["bionic/libc"], include_dirs: ["bionic/libc"],
system_shared_libs: ["libc"], system_shared_libs: ["libc"],
native_coverage: bionic_coverage,
sanitize: { sanitize: {
address: false, address: false,
fuzzer: false, fuzzer: false,