[Lldb-commits] [lldb] [lldb] Add const& to InstructionList parameter (PR #169342)
Felipe de Azevedo Piovezan via lldb-commits
lldb-commits at lists.llvm.org
Mon Nov 24 07:33:55 PST 2025
https://github.com/felipepiovezan created https://github.com/llvm/llvm-project/pull/169342
None
>From 37693678d5291f8b05c0eb97acedcd6ae51d1d73 Mon Sep 17 00:00:00 2001
From: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
Date: Mon, 24 Nov 2025 15:32:31 +0000
Subject: [PATCH] [lldb] Add const& to InstructionList parameter
---
.../InstEmulation/UnwindAssemblyInstEmulation.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp b/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp
index 987586b97dfdc..b6b073a96bcad 100644
--- a/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp
+++ b/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp
@@ -63,7 +63,7 @@ static void DumpUnwindRowsToLog(Log *log, AddressRange range,
}
static void DumpInstToLog(Log *log, Instruction &inst,
- InstructionList inst_list) {
+ const InstructionList &inst_list) {
if (!log || !log->GetVerbose())
return;
const bool show_address = true;
More information about the lldb-commits
mailing list