From 916a34a98293fd0d96f909a7c450a938d14361ce Mon Sep 17 00:00:00 2001 From: "thestig@chromium.org" Date: Mon, 8 Nov 2010 19:52:16 +0000 Subject: Fix assert failure in dump_syms caused by binary linked with gold. Original review: http://breakpad.appspot.com/224001 A=raymes R=ccoutant Review URL: http://breakpad.appspot.com/227001 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@729 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/common/dwarf_cu_to_module.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common/dwarf_cu_to_module.cc') diff --git a/src/common/dwarf_cu_to_module.cc b/src/common/dwarf_cu_to_module.cc index fb54ee16..425fd332 100644 --- a/src/common/dwarf_cu_to_module.cc +++ b/src/common/dwarf_cu_to_module.cc @@ -856,12 +856,12 @@ void DwarfCUToModule::AssignLinesToFunctions() { // about what result we produce in that case, just as long as we don't // hang or crash. while (func_it != functions->end() - && current >= (*func_it)->address + && next_transition >= (*func_it)->address && !within(**func_it, next_transition)) func_it++; func = (func_it != functions->end()) ? *func_it : NULL; while (line_it != lines_.end() - && current >= line_it->address + && next_transition >= line_it->address && !within(*line_it, next_transition)) line_it++; line = (line_it != lines_.end()) ? &*line_it : NULL; -- cgit v1.2.1