[clang] [llvm] [Coverage][MC/DC] Show uncoverable and unreachable conditions (PR #94137)

via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 23 03:43:10 PDT 2024


================
@@ -47,7 +47,7 @@
 // CHECK: Branch (103:9): [True: 9, False: 1]
 
 // CHECK: switches()
-// CHECK: Branch (113:3): [True: 1, False: 0]
+// CHECK: Branch (113:3): [Folded - Ignored]
----------------
Lambdaris wrote:

It's likely the object need to be reproduced. I have tried with `clang -m32 -fprofile-instr-generate -fcoverage-mapping -o branch-c-general.o32l branch-c-general.c` and this line and the line 60 are corrected but the number of lines and regions are not same (even without this patch). Is there anything I missed?

https://github.com/llvm/llvm-project/pull/94137


More information about the cfe-commits mailing list