Skip to content

Commit

Permalink
Fixed improperly splitting a range containing the entry point
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc-Aldorasi-Imprivata committed Jan 12, 2022
1 parent 7ec1f80 commit ab7dcd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dwarf2pdb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ static std::vector<RangeEntry> getRanges(DIECursor cursor, const DWARF_InfoData
std::uint64_t pclo = range.pclo;
range.pclo = id.pcentry;
ret.insert(ret.begin(), range);
if (pclo == id.pcentry)
if (pclo != id.pcentry)
{
range.pclo = pclo;
range.pchi = id.pcentry;
Expand Down

0 comments on commit ab7dcd4

Please sign in to comment.