From 442456a68cafc9325ef9e6f5bae8f425241ddaab Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 10 Nov 2022 17:54:16 -0800 Subject: [PATCH] Fix compile error in disassembler_objdump.cc for non-Linux build. A couple of pointer parameters should be references instead. Change-Id: Ic1850d9330194374f7fe2108815267ede6f3ca32 Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/4021971 Reviewed-by: Joshua Peraza --- src/processor/disassembler_objdump.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/processor/disassembler_objdump.cc b/src/processor/disassembler_objdump.cc index d7e4bec8..dfe10d58 100644 --- a/src/processor/disassembler_objdump.cc +++ b/src/processor/disassembler_objdump.cc @@ -507,14 +507,14 @@ DisassemblerObjdump::DisassemblerObjdump(const uint32_t cpu, uint64_t address) {} bool DisassemblerObjdump::CalculateSrcAddress(const DumpContext& context, - uint64_t* address) { + uint64_t& address) { return false; } bool DisassemblerObjdump::CalculateDestAddress(const DumpContext& context, - uint64_t* address) { + uint64_t& address) { return false; } } // namespace google_breakpad -#endif // __linux__ \ No newline at end of file +#endif // __linux__