
By storing possible test vectors instead of combinations of conditions, the restriction is dramatically relaxed. This introduces two options to `cc1`: * `-fmcdc-max-conditions=32767` * `-fmcdc-max-test-vectors=2147483646` This change makes coverage mapping, profraw, and profdata incompatible with Clang-18. - Bitmap semantics changed. It is incompatible with previous format. - `BitmapIdx` in `Decision` points to the end of the bitmap. - Bitmap is packed per function. - `llvm-cov` can understand `profdata` generated by `llvm-profdata-18`. RFC: https://discourse.llvm.org/t/rfc-coverage-new-algorithm-and-file-format-for-mc-dc/76798 -- Change(s) since llvmorg-19-init-14288-g7ead2d8c7e91 - Update compiler-rt/test/profile/ContinuousSyncMode/image-with-mcdc.c
31 lines
207 B
Plaintext
31 lines
207 B
Plaintext
_Z4testbbbb
|
|
# Func Hash:
|
|
703556281489
|
|
# Num Counters:
|
|
9
|
|
# Counter Values:
|
|
5
|
|
4
|
|
1
|
|
1
|
|
1
|
|
4
|
|
4
|
|
0
|
|
0
|
|
# Num Bitmap Bytes:
|
|
$2
|
|
# Bitmap Byte Values:
|
|
0x1
|
|
0x4
|
|
|
|
|
|
main
|
|
# Func Hash:
|
|
24
|
|
# Num Counters:
|
|
1
|
|
# Counter Values:
|
|
1
|
|
|