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;