aboutsummaryrefslogtreecommitdiff
path: root/src/common/linux
diff options
context:
space:
mode:
authorjimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e>2009-12-23 21:56:41 +0000
committerjimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e>2009-12-23 21:56:41 +0000
commit04683062456ed17ca4e1b890ec8a5e160287eaf3 (patch)
treebf1b493b192c1e2c6ad076f2a9549415b8e29724 /src/common/linux
parentIssue 49003: Breakpad Linux Dumper: Add unit tests for STABS dumper. (diff)
downloadbreakpad-04683062456ed17ca4e1b890ec8a5e160287eaf3.tar.xz
Breakpad Linux Dumper: Fix up comments in google_breakpad::Module interface.
Use the term "own", since ownership is the concept at work here. a=jimblandy, r=nealsid git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@468 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common/linux')
-rw-r--r--src/common/linux/module.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/common/linux/module.h b/src/common/linux/module.h
index 89ff06e5..a20780a3 100644
--- a/src/common/linux/module.h
+++ b/src/common/linux/module.h
@@ -123,20 +123,20 @@ class Module {
void SetLoadAddress(Address load_address);
// Add FUNCTION to the module.
- // Destroying this module frees all Function objects that have been
- // added with this function.
+ // This module owns all Function objects added with this function:
+ // destroying the module destroys them as well.
void AddFunction(Function *function);
// Add all the functions in [BEGIN,END) to the module.
- // Destroying this module frees all Function objects that have been
- // added with this function.
+ // This module owns all Function objects added with this function:
+ // destroying the module destroys them as well.
void AddFunctions(vector<Function *>::iterator begin,
vector<Function *>::iterator end);
- // If this module has a file named NAME, return a pointer to it. If
+ // If this module has a file named NAME, return a pointer to it. If
// it has none, then create one and return a pointer to the new
- // file. Destroying this module frees all File objects that have
- // been created using this function, or with Insert.
+ // file. This module owns all File objects created using these
+ // functions; destroying the module destroys them as well.
File *FindFile(const string &name);
File *FindFile(const char *name);