summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPierre-Marie de Rodat <derodat@adacore.com>2017-01-26 10:15:40 (GMT)
committerPierre-Marie de Rodat <derodat@adacore.com>2018-03-21 10:55:48 (GMT)
commit8861da35367ee4d691a2ad60469fbafe93f959a1 (patch)
tree0093e218dceb85e9ca650050f04382df8b298308 /src
parenta76c08cdbecf7a20f7f486de724e720a8f012bdd (diff)
downloadcv2pdb-8861da35367ee4d691a2ad60469fbafe93f959a1.zip
cv2pdb-8861da35367ee4d691a2ad60469fbafe93f959a1.tar.gz
cv2pdb-8861da35367ee4d691a2ad60469fbafe93f959a1.tar.bz2
CV2PDB::createTypes: handle out of order formal DIEs in subprograms
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 6388f8d..e08a2bd 100644
--- a/src/dwarf2pdb.cpp
+++ b/src/dwarf2pdb.cpp
@@ -716,7 +716,7 @@ bool CV2PDB::addDWARFProc(DWARF_InfoData& procid, DWARF_CompilationUnit* cu, DIE
int off = 8;
DIECursor prev = cursor;
- while (cursor.readNext(id, true) && id.tag == DW_TAG_formal_parameter)
+ while (cursor.readNext(id, true))
{
if (id.tag == DW_TAG_formal_parameter)
{