diff options
author | Marc Aldorasi <marc@groundctl.com> | 2019-02-07 20:37:54 (GMT) |
---|---|---|
committer | Marc Aldorasi <marc@groundctl.com> | 2019-02-07 20:37:54 (GMT) |
commit | 438cec3bc067be8b0ca6b94e71315fde39790123 (patch) | |
tree | 93d4d7d1d68ac606b6cbc15920e775e5dda0eb8e /src/dwarflines.cpp | |
parent | 4dca3d0a628ad74176c548467e9d5989bfddd2b0 (diff) | |
download | cv2pdb-438cec3bc067be8b0ca6b94e71315fde39790123.zip cv2pdb-438cec3bc067be8b0ca6b94e71315fde39790123.tar.gz cv2pdb-438cec3bc067be8b0ca6b94e71315fde39790123.tar.bz2 |
Work around ld bug 24192
Diffstat (limited to 'src/dwarflines.cpp')
-rw-r--r-- | src/dwarflines.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/dwarflines.cpp b/src/dwarflines.cpp index 0d65697..c327857 100644 --- a/src/dwarflines.cpp +++ b/src/dwarflines.cpp @@ -245,12 +245,7 @@ bool interpretDWARFLines(const PEImage& img, mspdb::Mod* mod) if (!mod && state.section == -1)
state.section = img.getRelocationInLineSegment((char*)p - img.debug_line);
unsigned long adr = ptrsize == 8 ? RD8(p) : RD4(p);
- if(adr)
- state.address = adr;
- else if (!mod)
- state.address = adr;
- else
- state.address = state.last_addr; // strange adr 0 for templates?
+ state.address = adr;
state.op_index = 0;
break;
}
|