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

Djordje Todorovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 1 10:39:21 PDT 2019


djtodoro added a comment.

@aprantl Thanks for your comment. WDYT about implementing this as a llvm-dwarfdump subtool?

I think that having a tool where we can add options to operate and output a verbose info on the debug location generated would be useful. As I said on the mailing list, not only reporting the results by ignoring some kind of debug location entry (inlined or entry values) is interested. Interested will be calculating what is the number of entry values that have corresponding **call_site_param** info, and calculate a new kind of stats (such as valuable entry values) and that is some kind of evaluation of the debug location generated. We can add more options that evaluate some other interesting things regarding the debug location, not only regarding the debug entry values feature. I agree that every single functionality I described can be embedded into the llvm-dwarfdump, but maybe the subtool can be a better solution.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65585/new/

https://reviews.llvm.org/D65585





More information about the llvm-commits mailing list