Report which modules have forcefully completed types in statistics.
authorGreg Clayton <gclayton@fb.com>
Thu, 24 Nov 2022 04:28:03 +0000 (20:28 -0800)
committerGreg Clayton <gclayton@fb.com>
Thu, 1 Dec 2022 05:22:27 +0000 (21:22 -0800)
commitfc743f034a34d3fa0a6e4de3b34216e5ac5e4c93
tree02b89037563b157227d16791e372070001127312
parentda5903eb69c1f4ce850d039c85930f9425155a5e
Report which modules have forcefully completed types in statistics.

A previous patch added the ability for us to tell if types were forcefully completed. This patch adds the ability to see which modules have forcefully completed types and aggregates the number of modules with forcefully completed types at the root level.

We add a module specific setting named "debugInfoHadIncompleteTypes" that is a boolean value. We also aggregate the number of modules at the root level that had incomplete debug info with a key named "totalModuleCountWithIncompleteTypes" that is a count of number of modules that had incomplete types.

Differential Revision: https://reviews.llvm.org/D138638
lldb/include/lldb/Symbol/TypeSystem.h
lldb/include/lldb/Target/Statistics.h
lldb/packages/Python/lldbsuite/test/lldbtest.py
lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
lldb/source/Target/Statistics.cpp
lldb/test/API/commands/statistics/basic/TestStats.py
lldb/test/API/functionalities/limit-debug-info/TestLimitDebugInfo.py