Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(67)

Unified Diff: src/common/dwarf_cu_to_module.cc

Issue 227001: Fix assert failure in dump_syms caused by binary linked with gold.... (Closed) Base URL: http://google-breakpad.googlecode.com/svn/trunk/
Patch Set: Created 14 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/common/dwarf_cu_to_module.cc
===================================================================
--- src/common/dwarf_cu_to_module.cc (revision 726)
+++ src/common/dwarf_cu_to_module.cc (working copy)
@@ -856,12 +856,12 @@
// 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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted