|
minidump: Change the ownership model.
All minidump objects now own their all of their children, rather than
having them maintain weak pointers and requiring callers to maintain
ownership.
The only weak object in the entire tree now is the “extra memory” added
to a MinidumpMemoryListWriter by its AddExtraMemory() method. Extra
memory aliases objects owned elsewhere in the tree, typically by a
MinidumpThreadWriter as stack memory. Non-“extra” memory added to a
MinidumpMemoryListWriter by its AddMemory() method is strongly owned.
Many objects are now deleted through base pointers, and in those cases,
the base classes now have public virtual destructors. The ultimate base,
MinidumpWritable, is still protected to guard against direct
instantiation and deletion, and thus its destructor does not need to be
virtual.
This updates mini_chromium to eeb3b6a4f020 specifically for that
revision, which includes necessary updates to scoped_ptr. It also picks
up:
eeb3b6a4f020 Update base/move.h and base/memory/scoped_ptr.h to match
67ad2efafaba More porting to Windows
be27a006421e AUTHORS: Fix link post-git migration flag day.
05f5b1503230 Add codereview.settings to mini_chromium.
a32c2b199811 Beginnings of Windows support in mini_chromium
TEST=minidump_test
R=rsesek@chromium.org
Committed: https://chromium.googlesource.com/crashpad/crashpad/+/0a4ea0b52dc98083bef0f8521e347172214e6846
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+617 lines, -509 lines) |
Patch |
|
M |
DEPS
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
minidump/minidump_context_writer.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
minidump/minidump_crashpad_info_writer.h
|
View
|
1
|
3 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_crashpad_info_writer.cc
|
View
|
1
2
3
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_crashpad_info_writer_test.cc
|
View
|
1
2
3
|
2 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_exception_writer.h
|
View
|
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_exception_writer.cc
|
View
|
|
2 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_exception_writer_test.cc
|
View
|
|
4 chunks |
+19 lines, -19 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_file_writer.h
|
View
|
1
2
3
4
|
4 chunks |
+10 lines, -5 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_file_writer.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_file_writer_test.cc
|
View
|
|
6 chunks |
+21 lines, -15 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_memory_writer.h
|
View
|
1
2
3
4
|
5 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_memory_writer.cc
|
View
|
|
3 chunks |
+13 lines, -4 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_memory_writer_test.cc
|
View
|
|
6 chunks |
+28 lines, -21 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_misc_info_writer.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
minidump/minidump_misc_info_writer.cc
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_misc_info_writer_test.cc
|
View
|
|
17 chunks |
+73 lines, -72 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_module_crashpad_info_writer.h
|
View
|
1
2
3
4
|
6 chunks |
+12 lines, -10 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_module_crashpad_info_writer.cc
|
View
|
1
2
3
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_module_crashpad_info_writer_test.cc
|
View
|
1
2
3
|
3 chunks |
+52 lines, -42 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_module_writer.h
|
View
|
1
2
3
4
|
8 chunks |
+18 lines, -16 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_module_writer.cc
|
View
|
1
2
3
4
|
4 chunks |
+12 lines, -8 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_module_writer_test.cc
|
View
|
|
9 chunks |
+86 lines, -80 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_simple_string_dictionary_writer.h
|
View
|
1
2
3
4
|
4 chunks |
+9 lines, -7 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_simple_string_dictionary_writer.cc
|
View
|
|
2 chunks |
+11 lines, -2 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_simple_string_dictionary_writer_test.cc
|
View
|
|
4 chunks |
+27 lines, -20 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_stream_writer.h
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
minidump/minidump_stream_writer.cc
|
View
|
|
2 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_string_writer.h
|
View
|
1
2
3
4
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_string_writer.cc
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_system_info_writer.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
minidump/minidump_system_info_writer_test.cc
|
View
|
|
7 chunks |
+33 lines, -33 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_thread_writer.h
|
View
|
1
2
3
4
|
8 chunks |
+18 lines, -16 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_thread_writer.cc
|
View
|
1
2
3
4
|
3 chunks |
+14 lines, -9 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_thread_writer_test.cc
|
View
|
|
10 chunks |
+77 lines, -77 lines |
0 comments
|
Download
|
|
M |
minidump/minidump_writable.h
|
View
|
1
2
3
4
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
Total messages: 7 (2 generated)
|