aboutsummaryrefslogtreecommitdiff
path: root/src/processor/process_state.cc
diff options
context:
space:
mode:
authormmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e>2006-12-05 22:52:28 +0000
committermmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e>2006-12-05 22:52:28 +0000
commitdb3342a10ec30902aa9018b80e1d9a40bd01c487 (patch)
tree933903715ae6d5d5f1b7827e0612314162b0aecf /src/processor/process_state.cc
parentDon't use CRT in exception handler code (#86). r=bryner (diff)
downloadbreakpad-db3342a10ec30902aa9018b80e1d9a40bd01c487.tar.xz
Module API (#32). r=waylonis, bryner
- Introduces a standard API for dealing with modules. MinidumpModule is now a concrete implementation of this API. Code may interact with single modules using the CodeModule interface, and collections of modules using its container, the CodeModules interface. - CodeModule is used directly by SymbolSupplier implementations and SourceLineResolver. Reliance on the specific implementation in MinidumpModule has been eliminated. - Module lists are now added to ProcessState objects. Module references in each stack frame are now pointers to objects in these module lists. - The sample minidump_stackwalk tool prints the module list after printing all threads' stacks. http://groups.google.com/group/airbag-dev/browse_frm/thread/a9c0550edde54cf8 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@74 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/processor/process_state.cc')
-rw-r--r--src/processor/process_state.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/processor/process_state.cc b/src/processor/process_state.cc
index b7c2239e..895ee5f7 100644
--- a/src/processor/process_state.cc
+++ b/src/processor/process_state.cc
@@ -35,6 +35,7 @@
#include "google_airbag/processor/process_state.h"
#include "google_airbag/processor/call_stack.h"
+#include "google_airbag/processor/code_modules.h"
namespace google_airbag {
@@ -44,6 +45,8 @@ ProcessState::~ProcessState() {
++iterator) {
delete *iterator;
}
+
+ delete modules_;
}
} // namespace google_airbag