[PATCH] D82205: InlineCost - method ::print() to allow dump of statistics to non-debug builds

Mircea Trofin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 19 12:32:06 PDT 2020


mtrofin added a comment.

I believe the reason dump() is hidden behind conditional compilation flags, is to avoid the size overhead in the respective builds.

Alternatively, could your use of dump() be guarded by similar conditional compilation flags, and, then, conditionally-depend on that in tests that would use the feature?


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

https://reviews.llvm.org/D82205





More information about the llvm-commits mailing list