[PATCH] D54217: Add total function byte size and inline function byte size to "llvm-dwarfdump --statistics"

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 8 10:18:27 PST 2018


dblaikie added a comment.

In https://reviews.llvm.org/D54217#1291820, @clayborg wrote:

> yeah, an easy code search indeed kicked up the tests. I will add one. Sorry about that


No worries - still curious where you were looking for the tests initially, perhaps we can do something to make them more discoverable?

(another way I find tests: Break something nearby/related (eg: remove one of the existing statistics) & see what tests fail)

In https://reviews.llvm.org/D54217#1291828, @clayborg wrote:

> Looks like I can piggy back on llvm/test/tools/llvm-dwarfdump/X86/statistics.ll
>
> Does anyone know how to run only this test from command line?


from the build directory I usually run "./bin/llvm-lit -v test/tools/llvm-dwarfdump/X86/statistics.ll" for example (yeah, even though that relative path doesn't exist in the build directory, lit knows to also try resolving it from the source dir, etc)


Repository:
  rL LLVM

https://reviews.llvm.org/D54217





More information about the llvm-commits mailing list