mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-01 20:24:40 +01:00
Rename MDRawContextARM64 and its context flags
This makes way for the addition of a struct matching Microsoft's layout for ARM64. Change-Id: I115f25290863e7438852691d1ec3c9324a42f7a5 Reviewed-on: https://chromium-review.googlesource.com/1152158 Reviewed-by: Mark Mentovai <mark@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
parent
948ce04ed7
commit
627ef0cb9c
20 changed files with 71 additions and 71 deletions
|
|
@ -122,14 +122,14 @@ class StackwalkerARM64Fixture {
|
|||
}
|
||||
|
||||
// Fill RAW_CONTEXT with pseudo-random data, for round-trip checking.
|
||||
void BrandContext(MDRawContextARM64 *raw_context) {
|
||||
void BrandContext(MDRawContextARM64_Old *raw_context) {
|
||||
uint8_t x = 173;
|
||||
for (size_t i = 0; i < sizeof(*raw_context); i++)
|
||||
reinterpret_cast<uint8_t *>(raw_context)[i] = (x += 17);
|
||||
}
|
||||
|
||||
SystemInfo system_info;
|
||||
MDRawContextARM64 raw_context;
|
||||
MDRawContextARM64_Old raw_context;
|
||||
Section stack_section;
|
||||
MockMemoryRegion stack_region;
|
||||
MockCodeModule module1;
|
||||
|
|
@ -688,7 +688,7 @@ struct CFIFixture: public StackwalkerARM64Fixture {
|
|||
}
|
||||
|
||||
// The values we expect to find for the caller's registers.
|
||||
MDRawContextARM64 expected;
|
||||
MDRawContextARM64_Old expected;
|
||||
|
||||
// The validity mask for expected.
|
||||
uint64_t expected_validity;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue