[PATCH] D65585: WIP: [llvm-locstats] Add the llvm-locstats tool

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 1 10:27:49 PDT 2019



> On Aug 1, 2019, at 10:25 AM, Djordje Todorovic <Djordje.Todorovic at rt-rk.com> wrote:
> 
> I agree that the llvm-dwarfdump already has similar stats, but maybe it is worth of having a tool (maybe this can exist like a llvm-dwarfdump subtool) that reports some kind of verbose output and calculation on the debug location generated. If we want to have some observation only on the location list we can just add a new option to the subtool (i.e. the one for ignoring entry values), rather then putting new fields in to the existing llvm-dwarfdump statistic.

I'm not sure I follow, adding new fields to llvm-dwarfdump --statistics is cheap, what are we gaining be having it a separate tool?

-- adrian


More information about the llvm-commits mailing list