Add a new top level statistic that tracks how many modules have variable errors.
authorGreg Clayton <gclayton@fb.com>
Sun, 20 Nov 2022 17:40:23 +0000 (09:40 -0800)
committerGreg Clayton <gclayton@fb.com>
Sun, 20 Nov 2022 20:34:16 +0000 (12:34 -0800)
commitaac1c3b15aae7a13f6861c6a58729d68d2f1eab0
tree042a06be2565f775660d35c7ce4e267056f06fa4
parent38889132d440261dc171be6bf95741f61ddc9028
Add a new top level statistic that tracks how many modules have variable errors.

We have a statistic on each module named "debugInfoHadVariableErrors" which tracks when we have debug info, but an error prevented the variables from being displayed. This patch adds a new top level statistic named "totalModuleCountWithVariableErrors" which is a count of the modules that have "debugInfoHadVariableErrors" set to true.

Differential Revision: https://reviews.llvm.org/D138383
lldb/source/Target/Statistics.cpp
lldb/test/API/commands/statistics/basic/TestStats.py