diff options
author | Ben Gamari <ben@smart-cactus.org> | 2018-03-25 22:17:24 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-03-25 22:18:07 -0400 |
commit | ecfb4d363daf06cda82a4b062eb4798dee99d0e3 (patch) | |
tree | aa50002268dbf6a45c0f00dfa43934591d9e0353 /compiler/codeGen | |
parent | 20ae19fc7297dceaefde8d3443099bfd9cd1e905 (diff) | |
download | haskell-ecfb4d363daf06cda82a4b062eb4798dee99d0e3.tar.gz |
Add new debugging flag -dinline-check
This flag reports a summary of the inlining decision for identifiers
prefixed by the flag's argument.
For example, `-dinline-check foo` will report why definitions whose
prefix is `foo` are inlined or not.
Previously the only way to get this information was to pass a
combination of `-dverbose-core2core` and `-ddump-inlinings`.
This combination led to a log of 12 million lines in a module of about
200 lines I recently had to apply it to. This flag provides a much more
direct way to find the occurence you care about.
Reviewers: osa1, dfeuer, bgamari
Reviewed By: bgamari
Subscribers: rwbarton, thomie, carter
Differential Revision: https://phabricator.haskell.org/D4458
Diffstat (limited to 'compiler/codeGen')
0 files changed, 0 insertions, 0 deletions