[PATCH] D55091: Add --analyze option to llvm-dwarfdump
Greg Clayton via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 30 14:15:55 PST 2018
clayborg added a comment.
BTW: I ran this on llvm-dwarfdump.dSYM from a release Darwin build with debug info and it found 71% inline code. I limited the inline depth for clarity.
$ llvm-dwarfdump --analyze build/bin/llvm-dwarfdump.dSYM --max-inline-depth=2
Inline information:
Code size: 4477328
Inline code size: 3197857
Inline code percentage: 71.42%
COUNT SIZE % CODE Name
------- ------- ------- -------------------------------------------
228225 2.32M 54.37% llvm
15846 489.94K 11.21% raw_ostream
5090 195.50K 4.47% MCRegisterClass
15292 140.81K 3.22% SmallVectorTemplateCommon<llvm::MCOperand, void>
19945 98.97K 2.26% MCOperand
9006 87.33K 2.00% Twine
7227 79.58K 1.82% StringRef
6466 78.15K 1.79% MCRegisterInfo
7045 73.01K 1.67% SmallVectorBase
3136 44.43K 1.02% APInt
3636 39.14K 0.90% cl
1704 28.98K 0.66% itanium_demangle
2611 28.13K 0.64% detail
1665 27.25K 0.62% object
4280 19.75K 0.45% Error
941 17.50K 0.40% yaml
1638 17.25K 0.39% hashing
1748 16.49K 0.38% optional_detail
884 13.94K 0.32% VerifierSupport
1114 12.08K 0.28% MDNode
465 11.84K 0.27% SmallPtrSetImplBase
1798 11.08K 0.25% MCContext
1019 9.87K 0.23% User
182 9.79K 0.22% AArch64_AM
1413 9.75K 0.22% SmallVectorTemplateCommon<char, void>
1236 9.49K 0.22% APFloat
2028 9.37K 0.21% Type
124 9.31K 0.21% decodeULEB128
160 9.19K 0.21% NextPowerOf2
1187 8.84K 0.20% Use
881 8.42K 0.19% DebugEpochBase
.... <snipped>
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55091/new/
https://reviews.llvm.org/D55091
More information about the llvm-commits
mailing list