summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre-Marie de Rodat <derodat@adacore.com>2017-03-20 17:29:22 (GMT)
committerPierre-Marie de Rodat <derodat@adacore.com>2018-03-21 10:55:49 (GMT)
commit9d9c68621a71e1516325d9cdd7907bc563358046 (patch)
treeb44c29839c841b395d179b3e80f3517d7319bfc1
parent8861da35367ee4d691a2ad60469fbafe93f959a1 (diff)
downloadcv2pdb-9d9c68621a71e1516325d9cdd7907bc563358046.zip
cv2pdb-9d9c68621a71e1516325d9cdd7907bc563358046.tar.gz
cv2pdb-9d9c68621a71e1516325d9cdd7907bc563358046.tar.bz2
CV2PDB::createTypes: after formals processing, reset cursor to beginning
This will make it possible to process DIE's that are interleaved with DW_TAG_formal_parameter ones.
-rw-r--r--src/dwarf2pdb.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/dwarf2pdb.cpp b/src/dwarf2pdb.cpp
index e08a2bd..798151c 100644
--- a/src/dwarf2pdb.cpp
+++ b/src/dwarf2pdb.cpp
@@ -727,7 +727,6 @@ bool CV2PDB::addDWARFProc(DWARF_InfoData& procid, DWARF_CompilationUnit* cu, DIE
appendStackVar(id.name, getTypeByDWARFPtr(cu, id.type), loc, cfa);
}
}
- prev = cursor;
}
appendEndArg();