[PATCH] D57849: llvm-dwarfdump: Stop counting out-of-line subprogram in the "inlined functions" statistic.

Caroline Tice via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 7 10:56:59 PST 2019


cmtice added inline comments.


================
Comment at: test/tools/llvm-dwarfdump/X86/stats-inlining-multi-cu.ll:9
 ; CHECK-SAME: "unique source variables":4
-; CHECK-SAME: "source variables":6
+; CHECK-SAME: "source variables":8
 ; CHECK-SAME: "variables with location":6
----------------
aprantl wrote:
> Where do the extra two variables come from?
There are two inlined instances, each of which has 3 variables (parameter T,  i from the first lexical block, i from the second lexical block); function a has a local variable 'a'; function b has a local variable 'b'.  Total = 8.


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

https://reviews.llvm.org/D57849





More information about the llvm-commits mailing list