Collect VTable stats & add -Zprint-vtable-sizes
This commit is contained in:
parent
cb882fa998
commit
f2545fb225
8 changed files with 151 additions and 5 deletions
|
@ -333,6 +333,7 @@ pub fn run_compiler<R: Send>(config: Config, f: impl FnOnce(&Compiler) -> R + Se
|
|||
};
|
||||
|
||||
let prof = compiler.sess.prof.clone();
|
||||
|
||||
prof.generic_activity("drop_compiler").run(move || drop(compiler));
|
||||
r
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue