For large app, dumping disasm of the whole program can be slow and result in gianant output. Adding a switch to dump specific symbols only.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
Thanks for the change!
Nit: probably we can add an early check in validateCommandLine to make sure ShowDisassemblyOnly must be true if ShowSymbols is not empty.
Comment Actions
Second what Lei said, adding a check in validateCommandLine would be helpful.
llvm/tools/llvm-profgen/ProfiledBinary.cpp | ||
---|---|---|
42 | nit: show-symbols -> disassemble-functions. this only works for function. |
nit: show-symbols -> disassemble-functions. this only works for function.