|
Add MinidumpContextWriter::CreateFromSnapshot(), everything downstream,
and its test.
Minidump context structures now interoperate more easily with snapshot
CPUContext structures, while maintaining identical layout to before.
This is facilitated by reusing the Fxsave types for the substructures
which were completely identical, and by using compatible logic to
initialize the minidump and snapshot structures for testing.
TEST=minidump_test, snapshot_test
R=rsesek@chromium.org
Committed: https://chromium.googlesource.com/crashpad/crashpad/+/52c2f6edfcc70cc61b1614dad34a7bd52100a5cf
Total comments: 11
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+973 lines, -214 lines) |
Patch |
|
M |
minidump/minidump_context.h
|
View
|
1
2
3
4
|
5 chunks |
+17 lines, -41 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_context_writer.h
|
View
|
|
3 chunks |
+35 lines, -0 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_context_writer.cc
|
View
|
1
2
3
4
|
4 chunks |
+133 lines, -0 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_context_writer_test.cc
|
View
|
|
5 chunks |
+58 lines, -4 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_exception_writer_test.cc
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_thread_writer_test.cc
|
View
|
|
5 chunks |
+10 lines, -5 lines |
0 comments
|
Download
|
|
M |
minidump/test/minidump_context_test_util.h
|
View
|
|
2 chunks |
+19 lines, -5 lines |
0 comments
|
Download
|
|
M |
minidump/test/minidump_context_test_util.cc
|
View
|
1
|
9 chunks |
+217 lines, -157 lines |
0 comments
|
Download
|
|
M |
snapshot/cpu_context.h
|
View
|
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
|
M |
snapshot/cpu_context.cc
|
View
|
|
1 chunk |
+66 lines, -0 lines |
0 comments
|
Download
|
|
A |
snapshot/cpu_context_test.cc
|
View
|
|
1 chunk |
+150 lines, -0 lines |
0 comments
|
Download
|
|
M |
snapshot/snapshot.gyp
|
View
|
1
2
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
A |
snapshot/test/test_cpu_context.h
|
View
|
|
1 chunk |
+67 lines, -0 lines |
0 comments
|
Download
|
|
A |
snapshot/test/test_cpu_context.cc
|
View
|
|
1 chunk |
+165 lines, -0 lines |
0 comments
|
Download
|
Total messages: 8 (2 generated)
|