summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarc Aldorasi <marc@groundctl.com>2022-01-12 18:08:51 (GMT)
committerMarc Aldorasi <marc@groundctl.com>2022-01-12 18:08:51 (GMT)
commitab7dcd4bf8d756e07b49e94fc3de215a3ddcb32c (patch)
tree6e2bf10578002dc7ba2d75d886f9e1f1cde66ccf /src
parent7ec1f803f4c6a29706a5fa7110fb3706361217d0 (diff)
downloadcv2pdb-ab7dcd4bf8d756e07b49e94fc3de215a3ddcb32c.zip
cv2pdb-ab7dcd4bf8d756e07b49e94fc3de215a3ddcb32c.tar.gz
cv2pdb-ab7dcd4bf8d756e07b49e94fc3de215a3ddcb32c.tar.bz2
Fixed improperly splitting a range containing the entry point
Diffstat (limited to 'src')
-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;