mirror of
https://github.com/ittiam-systems/libhevc.git
synced 2026-10-16 22:06:46 +07:00
Including <assert.h> inside the body of ihevc_weighted_pred_bi_ssse3 caused Clang's coverage mapping generator to add assert.h to the function's VirtualFileMapping. Because system headers are filtered out when emitting coverage regions, no region sub-arrays were generated for assert.h, resulting in llvm-cov failing with 'truncated coverage data' when reading the coverage mapping. Since <assert.h> is already included at file scope, remove the redundant in-function include. Bug: 539970151 Test: Revert ag/41985629 and then follow the steps below Test: cd frameworks/av/apex && CLANG_COVERAGE=true NATIVE_COVERAGE_PATHS=* mm Test: llvm-cov report -empty-profile out_x64/target/product/vsoc_x86_64_only/symbols/apex/com.android.media.swcodec/lib64/libcodec2_soft_hevcdec.so TAG=agy CONV=f1fd20b6-de70-47c5-8011-aca1dcbeb9e9 Change-Id: I98bafd5754b7059d5869eb1eb0ea0922ec95cc5e (cherry picked from commit 15aee9ebc525822f4c4eb4b9dc8878a228d48202) |
||
|---|---|---|
| .. | ||
| ihevc_16x16_itrans_recon_sse42_intr.c | ||
| ihevc_32x32_itrans_recon_sse42_intr.c | ||
| ihevc_chroma_intra_pred_filters_sse42_intr.c | ||
| ihevc_chroma_intra_pred_filters_ssse3_intr.c | ||
| ihevc_deblk_ssse3_intr.c | ||
| ihevc_function_selector_sse42.c | ||
| ihevc_function_selector_ssse3.c | ||
| ihevc_inter_pred_filters_sse42_intr.c | ||
| ihevc_inter_pred_filters_ssse3_intr.c | ||
| ihevc_intra_pred_filters_sse42_intr.c | ||
| ihevc_intra_pred_filters_ssse3_intr.c | ||
| ihevc_itrans_recon_16x16_ssse3_intr.c | ||
| ihevc_itrans_recon_32x32_ssse3_intr.c | ||
| ihevc_itrans_recon_sse42_intr.c | ||
| ihevc_itrans_recon_ssse3_intr.c | ||
| ihevc_mem_fns_ssse3_intr.c | ||
| ihevc_padding_ssse3_intr.c | ||
| ihevc_platform_macros.h | ||
| ihevc_sao_ssse3_intr.c | ||
| ihevc_tables_x86_intr.c | ||
| ihevc_weighted_pred_sse42_intr.c | ||
| ihevc_weighted_pred_ssse3_intr.c | ||