llvm-project/lldb/source/Target
Greg Clayton 8f8935139a Track which modules have debug info variable errors.
Now that we display an error when users try to get variables, but something in the debug info is preventing variables from showing up, track this with a new bool in each module's statistic information named "debugInfoHadVariableErrors".

This patch modifies the code to track when we have variable errors in a module and adds accessors to get/set this value. This value is used in the module statistics and we added a test to verify this value gets set correctly.

Differential Revision: https://reviews.llvm.org/D134508
2022-09-28 15:39:54 -07:00
..
ABI.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
AssertFrameRecognizer.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
CMakeLists.txt [trace] Make events first class items in the trace cursor and rework errors 2022-06-29 09:19:51 -07:00
DynamicRegisterInfo.cpp Use the range-based overload of llvm::sort where possible 2022-07-23 15:13:25 +02:00
ExecutionContext.cpp [LLDB] Applying clang-tidy modernize-use-equals-default over LLDB 2022-03-31 13:21:49 -07:00
InstrumentationRuntime.cpp
InstrumentationRuntimeStopInfo.cpp
JITLoader.cpp
JITLoaderList.cpp Use llvm::erase_value (NFC) 2022-08-13 12:55:50 -07:00
Language.cpp We don't require users to type out the full context of a function, for 2022-05-12 12:39:28 -07:00
LanguageRuntime.cpp [LLDB] Applying clang-tidy modernize-use-default-member-init over LLDB 2022-03-14 13:32:03 -07:00
Memory.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
MemoryHistory.cpp
MemoryRegionInfo.cpp
MemoryTagMap.cpp [lldb] Add MemoryTagMap class 2022-01-26 13:55:48 +00:00
ModuleCache.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
OperatingSystem.cpp [lldb] Remove ConstString from GetPluginNameStatic of some plugins 2021-10-21 12:58:45 +02:00
PathMappingList.cpp [lldb] Use Optional::{has_value,value,value_or} 2022-09-23 09:10:40 -07:00
Platform.cpp Recognize a platform binary in ProcessGDBRemote which determines plugins 2022-09-09 14:57:08 -07:00
Process.cpp [lldb] Reset breakpoint hit count before new runs 2022-09-19 12:56:12 -04:00
ProcessTrace.cpp [lldb] Remove non-address bits from read/write addresses in lldb 2022-05-18 12:59:34 +01:00
Queue.cpp
QueueItem.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
QueueList.cpp
RegisterContext.cpp Recommit: [lldb] Remove "dwarf dynamic register size expressions" from RegisterInfo 2021-10-07 11:15:00 +02:00
RegisterContextUnwind.cpp [LLDB][NFC][Reliability] Fix uninitialized variables from Coverity scan. Part 2 2022-07-25 20:52:45 -07:00
RegisterNumber.cpp [lldb] Use C++11 default member initializers 2021-06-09 09:43:13 -07:00
RemoteAwarePlatform.cpp [lldb] Move host platform implementations into the base class 2022-04-05 11:22:37 +02:00
SectionLoadHistory.cpp
SectionLoadList.cpp Clear old section-to-addr entry when loading Section at new addr 2022-09-27 16:20:26 -07:00
StackFrame.cpp Add the ability to show when variables fails to be available when debug info is valid. 2022-09-12 13:59:05 -07:00
StackFrameList.cpp [lldb] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 11:31:49 -07:00
StackFrameRecognizer.cpp
StackID.cpp
Statistics.cpp Track which modules have debug info variable errors. 2022-09-28 15:39:54 -07:00
StopInfo.cpp Reapply the commits to enable accurate hit-count detection for watchpoints. 2022-08-05 11:01:27 -07:00
StructuredDataPlugin.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
SystemRuntime.cpp
Target.cpp Add auto deduce source map setting 2022-09-19 13:40:22 -07:00
TargetList.cpp [lldb] Create an enum to specify the kind of ArchSpec matching 2022-08-02 16:20:13 +02:00
TargetProperties.td Add auto deduce source map setting 2022-09-19 13:40:22 -07:00
Thread.cpp Reapply the commits to enable accurate hit-count detection for watchpoints. 2022-08-05 11:01:27 -07:00
ThreadCollection.cpp Use llvm::upper_bound (NFC) 2022-09-03 11:17:39 -07:00
ThreadList.cpp Reapply the commits to enable accurate hit-count detection for watchpoints. 2022-08-05 11:01:27 -07:00
ThreadPlan.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ThreadPlanBase.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ThreadPlanCallFunction.cpp [LLDB][NFC][Reliability] Fix uninitialized variables from Coverity scan. Part 2 2022-07-25 20:52:45 -07:00
ThreadPlanCallFunctionUsingABI.cpp
ThreadPlanCallOnFunctionExit.cpp [lldb][NFC] Inclusive Language: rename master plan to controlling plan 2021-11-11 15:04:44 -06:00
ThreadPlanCallUserExpression.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ThreadPlanPython.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ThreadPlanRunToAddress.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ThreadPlanShouldStopHere.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ThreadPlanStack.cpp Add a mutex to the ThreadPlanStackMap class. 2022-04-29 11:07:22 -07:00
ThreadPlanStepInRange.cpp [lldb] Fix step-avoid-regexp logging 2022-03-09 08:35:15 -08:00
ThreadPlanStepInstruction.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ThreadPlanStepOut.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ThreadPlanStepOverBreakpoint.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ThreadPlanStepOverRange.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ThreadPlanStepRange.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ThreadPlanStepThrough.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ThreadPlanStepUntil.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ThreadPlanTracer.cpp [LLDB][NFC][Reliability] Fix uninitialized variables from Coverity scan. Part 2 2022-07-25 20:52:45 -07:00
ThreadSpec.cpp [lldb] Use C++11 default member initializers 2021-06-09 09:43:13 -07:00
Trace.cpp [NFC] Improve FileSpec internal APIs and usage in preparation for adding caching of resolved/absolute. 2022-07-28 13:28:26 -07:00
TraceCursor.cpp [trace][intel pt] Fix per-psb packet decoding 2022-08-12 15:13:48 -07:00
TraceDumper.cpp [trace][intel pt] Fix per-psb packet decoding 2022-08-12 15:13:48 -07:00
TraceExporter.cpp [lldb] Remove ConstString from SymbolVendor, Trace, TraceExporter, UnwindAssembly, MemoryHistory and InstrumentationRuntime plugin names 2021-10-29 12:08:57 +02:00
UnixSignals.cpp Use value instead of getValue (NFC) 2022-07-15 20:03:13 -07:00
UnwindAssembly.cpp
UnwindLLDB.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00