mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2025-12-25 16:54:43 +01:00
Reduce calls to SymbolSupplier::GetSymbolFile() (#48).
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@40 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
8b1645d8cd
commit
181f307ffe
4 changed files with 16 additions and 5 deletions
|
|
@ -165,6 +165,10 @@ bool SourceLineResolver::LoadModule(const string &module_name,
|
|||
return true;
|
||||
}
|
||||
|
||||
bool SourceLineResolver::HasModule(const string &module_name) const {
|
||||
return modules_->find(module_name) != modules_->end();
|
||||
}
|
||||
|
||||
void SourceLineResolver::FillSourceLineInfo(StackFrame *frame,
|
||||
StackFrameInfo *frame_info) const {
|
||||
ModuleMap::const_iterator it = modules_->find(frame->module_name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue