[Lldb-commits] [lldb] [LLDB][NFC] Fix variable casing issue (PR #161691)
Jacob Lalonde via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 2 08:58:03 PDT 2025
https://github.com/Jlalond created https://github.com/llvm/llvm-project/pull/161691
Fixes some casing mistakes I added in #161581
>From c62857c97e9647b4bbe911f6a49f3bdeef7d0599 Mon Sep 17 00:00:00 2001
From: Jacob Lalonde <jalalonde at fb.com>
Date: Wed, 1 Oct 2025 17:05:28 -0700
Subject: [PATCH] Fix variable casing issue
---
lldb/source/API/SBTarget.cpp | 2 +-
lldb/source/Commands/CommandObjectTarget.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
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