Skip to content

Commit 71b1c61

Browse files
committed
[PDB Import] Collect locals and params from blocks contained in a FrameProcedure
1 parent 0498fe8 commit 71b1c61

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

plugins/pdb-ng/src/symbol_parser.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1709,7 +1709,10 @@ impl<'a, S: Source<'a> + 'a> PDBParserInstance<'a, S> {
17091709
let mut locals = vec![];
17101710
let mut seen_offsets = HashSet::new();
17111711

1712-
for child in self.symbol_children(index) {
1712+
for child in self.walk_children(index) {
1713+
if child == index {
1714+
continue;
1715+
}
17131716
match self.lookup_symbol(&child) {
17141717
Some(ParsedSymbol::LocalVariable(ParsedVariable {
17151718
name,

0 commit comments

Comments
 (0)