diff options
Diffstat (limited to 'src/common/module.h')
-rw-r--r-- | src/common/module.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/common/module.h b/src/common/module.h index 398bc315..440298f0 100644 --- a/src/common/module.h +++ b/src/common/module.h @@ -247,7 +247,7 @@ class Module { // effectively a copy of the stack frame entry list, this is mostly // useful for testing; other uses should probably get // a more appropriate interface.) - void GetStackFrameEntries(vector<StackFrameEntry *> *vec); + void GetStackFrameEntries(vector<StackFrameEntry *> *vec) const; // Find those files in this module that are actually referred to by // functions' line number data, and assign them source id numbers. @@ -270,6 +270,11 @@ class Module { // established by SetLoadAddress. bool Write(std::ostream &stream, SymbolData symbol_data); + string name() const { return name_; } + string os() const { return os_; } + string architecture() const { return architecture_; } + string identifier() const { return id_; } + private: // Report an error that has occurred writing the symbol file, using // errno to find the appropriate cause. Return false. |