[Lldb-commits] [lldb] 3c8c500 - [LLDB][NFC] Fix variable casing issue (#161691)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 2 09:20:21 PDT 2025
Author: Jacob Lalonde
Date: 2025-10-02T09:20:17-07:00
New Revision: 3c8c500a191e81044beeb6ec566f6aebd202c3c3
URL: https://github.com/llvm/llvm-project/commit/3c8c500a191e81044beeb6ec566f6aebd202c3c3
DIFF: https://github.com/llvm/llvm-project/commit/3c8c500a191e81044beeb6ec566f6aebd202c3c3.diff
LOG: [LLDB][NFC] Fix variable casing issue (#161691)
Fixes some casing mistakes I added in #161581
Added:
Modified:
lldb/source/API/SBTarget.cpp
lldb/source/Commands/CommandObjectTarget.cpp
Removed:
################################################################################
diff --git a/lldb/source/API/SBTarget.cpp b/lldb/source/API/SBTarget.cpp
index 90ffe786c696c..0d03250753802 100644
--- a/lldb/source/API/SBTarget.cpp
+++ b/lldb/source/API/SBTarget.cpp
@@ -255,7 +255,7 @@ SBProcess SBTarget::LoadCore(const char *core_file, lldb::SBError &error) {
ProcessSP process_sp(target_sp->CreateProcess(
target_sp->GetDebugger().GetListener(), "", &filespec, false));
if (process_sp) {
- ElapsedTime loadCoreTime(target_sp->GetStatistics().GetLoadCoreTime());
+ ElapsedTime load_core_time(target_sp->GetStatistics().GetLoadCoreTime());
error.SetError(process_sp->LoadCore());
if (error.Success())
sb_process.SetSP(process_sp);
diff --git a/lldb/source/Commands/CommandObjectTarget.cpp b/lldb/source/Commands/CommandObjectTarget.cpp
index b5fc49d58c1eb..c59d02812f328 100644
--- a/lldb/source/Commands/CommandObjectTarget.cpp
+++ b/lldb/source/Commands/CommandObjectTarget.cpp
@@ -419,7 +419,7 @@ class CommandObjectTargetCreate : public CommandObjectParsed {
// Seems weird that we Launch a core file, but that is what we
// do!
{
- ElapsedTime loadCoreTime(
+ ElapsedTime load_core_time(
target_sp->GetStatistics().GetLoadCoreTime());
error = process_sp->LoadCore();
}
More information about the lldb-commits
mailing list