summaryrefslogtreecommitdiff
path: root/rust/examples
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2024-04-29 20:01:39 -0400
committerGlenn Smith <glenn@vector35.com>2024-06-04 14:38:00 -0400
commit8011373315410831763759748518908488617578 (patch)
tree9a1b468f332f8edbd94336e3170cab67e8eb9133 /rust/examples
parent8173715404106919642746094513822041995675 (diff)
PDB: Fix "found X types" message
Diffstat (limited to 'rust/examples')
-rw-r--r--rust/examples/pdb-ng/src/parser.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/rust/examples/pdb-ng/src/parser.rs b/rust/examples/pdb-ng/src/parser.rs
index 45d7847e..08fd6d60 100644
--- a/rust/examples/pdb-ng/src/parser.rs
+++ b/rust/examples/pdb-ng/src/parser.rs
@@ -166,7 +166,10 @@ impl<'a, S: Source<'a> + 'a> PDBParserInstance<'a, S> {
self.debug_info.add_type(name, ty.as_ref(), &[]); // TODO : Components
}
- info!("PDB found {} types", self.named_types.len());
+ info!(
+ "PDB found {} types (before resolving NTRs)",
+ self.named_types.len()
+ );
let (symbols, functions) =
self.parse_symbols(Self::split_progress(&progress, 1, &[1.0, 3.0, 0.5, 0.5]))?;
@@ -185,6 +188,7 @@ impl<'a, S: Source<'a> + 'a> PDBParserInstance<'a, S> {
)?;
}
+ info!("PDB found {} types", self.named_types.len());
info!("PDB found {} data variables", symbols.len());
info!("PDB found {} functions", functions.len());