diff options
author | Marc Aldorasi <marc@groundctl.com> | 2022-01-12 18:08:51 (GMT) |
---|---|---|
committer | Marc Aldorasi <marc@groundctl.com> | 2022-01-12 18:08:51 (GMT) |
commit | ab7dcd4bf8d756e07b49e94fc3de215a3ddcb32c (patch) | |
tree | 6e2bf10578002dc7ba2d75d886f9e1f1cde66ccf /src | |
parent | 7ec1f803f4c6a29706a5fa7110fb3706361217d0 (diff) | |
download | cv2pdb-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.cpp | 2 |
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;
|