Skip to content

Commit

Permalink
Fix a check failure "[functioninfo.h:163] Check failed: logical_num >…
Browse files Browse the repository at this point in the history
… 0 (0 vs. 0)".

Some code was mistakenly dropped during merge and now it is added back.
  • Loading branch information
wmi-11 committed Jul 10, 2021
1 parent ec61950 commit 8d5bf56
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions legacy_addr2line.cc
Expand Up @@ -184,6 +184,9 @@ void Google3Addr2line::GetInlineStack(uint64_t address,
if (iter == line_map_->begin())
return;
--iter;
if (iter->second == 0)
return;

const LineIdentifier &LI = line_map_->GetLogical(iter->second);
if (LI.line == 0)
return;
Expand Down

0 comments on commit 8d5bf56

Please sign in to comment.