From 37693678d5291f8b05c0eb97acedcd6ae51d1d73 Mon Sep 17 00:00:00 2001 From: Felipe de Azevedo Piovezan 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;