llvm-project
1cc5657c - [lldb-dap] Create telemetry data only when built with telemetry. (#225785)

Commit
63 days ago
[lldb-dap] Create telemetry data only when built with telemetry. (#225785) I am exploring fuzzing some parts of lldb-dap. but there is a fixed amount of memory lldb-dap can use before the fuzzing stops to catch memory leaks. The telemetry dispatcher always creates telemetry regardless of if lldb is built with telemetry enabled. `SBStructuredData::SetFromJSON` adds the telemetry string to the ConstString pool for every request and grows lldb-dap's memory usage rapidly.
Author
Parents
Loading