[llvm] [llvm-dwarfdump][LineCov 2/3] Add coverage baseline comparison and line table coverage in isolation (PR #183790)
Stephen Tozer via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 6 07:50:17 PST 2026
================
@@ -280,7 +285,18 @@ a tab-separated table containing the following columns:
declaration
- `LinesCovered` ==> Number of source lines covered by the variable's
debug information in the input file
-
+ - `Baseline` (empty if :option:`--coverage-baseline` is not specified)
+ ==> Number of source lines covered by the variable's debug information
+ in the baseline
+ - `CoveredRatio` (empty if :option:`--coverage-baseline` is not
+ specified) ==> Ratio of the coverage compared to the baseline
+ (calculated as `LinesCovered/Baseline`)
+ - `LT` (empty if :option:`--coverage-baseline` is not specified) ==>
+ Number of source lines covered in the variable's baseline debug
+ information that are also present in the input file's line table
+ - `LTRatio` (empty if :option:`--coverage-baseline` is not specified) ==>
+ Ratio of the line table coverage compared to the baseline (calculated
+ as `LT/Baseline`)
----------------
SLTozer wrote:
I think `LT` may not be a descriptive-enough name - there's probably a limit to how long the field names can be, but `AvailableLines` might be clearer.
https://github.com/llvm/llvm-project/pull/183790
More information about the llvm-commits
mailing list