mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-02 04:34:47 +01:00
Refactoring in preparation for microdump processing
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1370 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
a58de86bcd
commit
54c2560a82
22 changed files with 1058 additions and 666 deletions
|
|
@ -36,6 +36,7 @@
|
|||
#ifndef PROCESSOR_STACKWALKER_UNITTEST_UTILS_H_
|
||||
#define PROCESSOR_STACKWALKER_UNITTEST_UTILS_H_
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
|
@ -75,6 +76,9 @@ class MockMemoryRegion: public google_breakpad::MemoryRegion {
|
|||
bool GetMemoryAtAddress(uint64_t address, uint64_t *value) const {
|
||||
return GetMemoryLittleEndian(address, value);
|
||||
}
|
||||
void Print() const {
|
||||
assert(false);
|
||||
}
|
||||
|
||||
private:
|
||||
// Fetch a little-endian value from ADDRESS in contents_ whose size
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue