diff options
author | Vy Nguyen <vyng@google.com> | 2025-03-20 18:05:06 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-20 18:05:06 -0400 |
commit | ff21b50509c88606a8220002865c3e42e825a3b3 (patch) | |
tree | c25ddc1efc96de249187b9fec41717b2bcf4c28f /lldb/source/Interpreter/CommandInterpreter.cpp | |
parent | e86d627a8b0278556d18e73b9823761ca8fe24a5 (diff) | |
download | llvm-ff21b50509c88606a8220002865c3e42e825a3b3.zip llvm-ff21b50509c88606a8220002865c3e42e825a3b3.tar.gz llvm-ff21b50509c88606a8220002865c3e42e825a3b3.tar.bz2 |
Reapply LLDB-Telemetry TargetInfo branch (pr/127834) (#132043)
New changes: add check to avoid accessing invalid obj
Diffstat (limited to 'lldb/source/Interpreter/CommandInterpreter.cpp')
-rw-r--r-- | lldb/source/Interpreter/CommandInterpreter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp index 8e70922..e0bf552 100644 --- a/lldb/source/Interpreter/CommandInterpreter.cpp +++ b/lldb/source/Interpreter/CommandInterpreter.cpp @@ -1891,7 +1891,7 @@ bool CommandInterpreter::HandleCommand(const char *command_line, telemetry::TelemetryManager::GetInstance() ->GetConfig() ->detailed_command_telemetry; - const int command_id = telemetry::CommandInfo::GetNextId(); + const int command_id = telemetry::CommandInfo::GetNextID(); std::string command_string(command_line); std::string original_command_string(command_string); |