mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2025-12-29 02:35:31 +01:00
Breakpad x86 Stack Walker: Pass "out" parameters by address, not reference.
The Google C++ Style Guide requires all parameters passed by reference to be labeled 'const', and says that pointers should be used for output arguments. This patch brings google_breakpad::StackwalkerX86 into line. a=jimblandy, r=mmentovai git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@510 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
2214cb9bc1
commit
6a9ffff696
2 changed files with 8 additions and 8 deletions
|
|
@ -79,8 +79,8 @@ class StackwalkerX86 : public Stackwalker {
|
|||
// the value was found, and eip_found to the value contained at that
|
||||
// location in memory.
|
||||
bool ScanForReturnAddress(u_int32_t location_start,
|
||||
u_int32_t &location_found,
|
||||
u_int32_t &eip_found);
|
||||
u_int32_t *location_found,
|
||||
u_int32_t *eip_found);
|
||||
|
||||
// Stores the CPU context corresponding to the innermost stack frame to
|
||||
// be returned by GetContextFrame.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue