diff --git a/build/coverage.sh b/build/coverage.sh index c55fdd74f..13fabc5d0 100755 --- a/build/coverage.sh +++ b/build/coverage.sh @@ -54,9 +54,12 @@ ${LLVM_COV} show \ --instr-profile=${HOST_PROFDATA_DIR}/bionic.profdata \ --format=html \ $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/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 \ /proc/self/cwd/bionic/libc \ + /proc/self/cwd/bionic/libm \ --output-dir=${HOST_PROFDATA_DIR}/html \ --show-region-summary=false diff --git a/libm/Android.bp b/libm/Android.bp index 1c4fe551a..6a348e171 100644 --- a/libm/Android.bp +++ b/libm/Android.bp @@ -1,5 +1,3 @@ -bionic_coverage = false - // // libm.so and libm.a for target. // @@ -488,7 +486,6 @@ cc_library { include_dirs: ["bionic/libc"], system_shared_libs: ["libc"], - native_coverage: bionic_coverage, sanitize: { address: false, fuzzer: false,