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 <jperaza@chromium.org>
This commit is contained in:
Lei Zhang 2022-11-10 17:54:16 -08:00
parent 989f862134
commit 442456a68c

View file

@ -507,12 +507,12 @@ DisassemblerObjdump::DisassemblerObjdump(const uint32_t cpu,
uint64_t address) {} uint64_t address) {}
bool DisassemblerObjdump::CalculateSrcAddress(const DumpContext& context, bool DisassemblerObjdump::CalculateSrcAddress(const DumpContext& context,
uint64_t* address) { uint64_t& address) {
return false; return false;
} }
bool DisassemblerObjdump::CalculateDestAddress(const DumpContext& context, bool DisassemblerObjdump::CalculateDestAddress(const DumpContext& context,
uint64_t* address) { uint64_t& address) {
return false; return false;
} }
} // namespace google_breakpad } // namespace google_breakpad