diff options
author | Joshua Peraza <jperaza@chromium.org> | 2018-07-31 13:30:11 -0700 |
---|---|---|
committer | Joshua Peraza <jperaza@chromium.org> | 2018-08-01 19:26:38 +0000 |
commit | 627ef0cb9c705444da6ca7515bc5ca6b3169e1aa (patch) | |
tree | 1950e4f4d7d890fd8171689cb886297241c54691 /src/processor/stackwalker_arm64_unittest.cc | |
parent | mac: Fix broken xcode projects (diff) | |
download | breakpad-627ef0cb9c705444da6ca7515bc5ca6b3169e1aa.tar.xz |
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>
Diffstat (limited to 'src/processor/stackwalker_arm64_unittest.cc')
-rw-r--r-- | src/processor/stackwalker_arm64_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/processor/stackwalker_arm64_unittest.cc b/src/processor/stackwalker_arm64_unittest.cc index f9d18cea..fff70744 100644 --- a/src/processor/stackwalker_arm64_unittest.cc +++ b/src/processor/stackwalker_arm64_unittest.cc @@ -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; |