summaryrefslogtreecommitdiffstats
path: root/src/dwarf2pdb.cpp
diff options
context:
space:
mode:
authorPierre-Marie de Rodat <derodat@adacore.com>2017-03-20 17:48:10 (GMT)
committerPierre-Marie de Rodat <derodat@adacore.com>2018-03-21 10:55:50 (GMT)
commit6c71972b0a5850e4e269f20ce0e2179031ba4f41 (patch)
tree806a44079510758ca7051104510bf249e8e3a1e9 /src/dwarf2pdb.cpp
parent6bf2602f38e5bea4782b4ee601bd7bfb5eec6b78 (diff)
downloadcv2pdb-6c71972b0a5850e4e269f20ce0e2179031ba4f41.zip
cv2pdb-6c71972b0a5850e4e269f20ce0e2179031ba4f41.tar.gz
cv2pdb-6c71972b0a5850e4e269f20ce0e2179031ba4f41.tar.bz2
CV2PDB: store the current unit's base address
Diffstat (limited to 'src/dwarf2pdb.cpp')
-rw-r--r--src/dwarf2pdb.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dwarf2pdb.cpp b/src/dwarf2pdb.cpp
index 798151c..f5ef586 100644
--- a/src/dwarf2pdb.cpp
+++ b/src/dwarf2pdb.cpp
@@ -1229,6 +1229,7 @@ bool CV2PDB::createTypes()
break;
case DW_TAG_compile_unit:
+ currentBaseAddress = id.pclo;
#if !FULL_CONTRIB
if (id.dir && id.name)
{