summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/dwarf2pdb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dwarf2pdb.cpp b/src/dwarf2pdb.cpp
index 3220794..a2d7e07 100644
--- a/src/dwarf2pdb.cpp
+++ b/src/dwarf2pdb.cpp
@@ -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;