projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4753f5
)
[LLDB] Fix build error after D142214
author
Jay Foad
<jay.foad@amd.com>
Mon, 23 Jan 2023 12:27:50 +0000
(12:27 +0000)
committer
Jay Foad
<jay.foad@amd.com>
Mon, 23 Jan 2023 12:28:06 +0000
(12:28 +0000)
lldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.cpp
b/lldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.cpp
index
6ae5f2a
..
ed3b3e6
100644
(file)
--- a/
lldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.cpp
+++ b/
lldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.cpp
@@
-1384,7
+1384,7
@@
bool DisassemblerLLVMC::MCDisasmInstance::IsLoad(llvm::MCInst &mc_inst) const {
bool DisassemblerLLVMC::MCDisasmInstance::IsAuthenticated(
llvm::MCInst &mc_inst) const {
-
auto
InstrDesc = m_instr_info_up->get(mc_inst.getOpcode());
+
const auto &
InstrDesc = m_instr_info_up->get(mc_inst.getOpcode());
// Treat software auth traps (brk 0xc470 + aut key, where 0x70 == 'p', 0xc4
// == 'a' + 'c') as authenticated instructions for reporting purposes, in