diff options
| author | Diego Novillo <dnovillo@google.com> | 2014-04-08 16:42:34 +0000 |
|---|---|---|
| committer | Diego Novillo <dnovillo@google.com> | 2014-04-08 16:42:34 +0000 |
| commit | ccbf1d2a05a63f18bedbeddffe930cc70d5f5823 (patch) | |
| tree | 43e244afa7130b9a97233c021c316e00bb659fd9 /lib/Bitcode/Reader | |
| parent | 60db02b6feaa7fe08dfeac04a62e3c8ae4298fa1 (diff) | |
| download | llvm-ccbf1d2a05a63f18bedbeddffe930cc70d5f5823.tar.gz llvm-ccbf1d2a05a63f18bedbeddffe930cc70d5f5823.tar.bz2 llvm-ccbf1d2a05a63f18bedbeddffe930cc70d5f5823.tar.xz | |
Add support for optimization reports.
Summary:
This patch adds backend support for -Rpass=, which indicates the name
of the optimization pass that should emit remarks stating when it
made a transformation to the code.
Pass names are taken from their DEBUG_NAME definitions.
When emitting an optimization report diagnostic, the lack of debug
information causes the diagnostic to use "<unknown>:0:0" as the
location string.
This is the back end counterpart for
http://llvm-reviews.chandlerc.com/D3226
Reviewers: qcolombet
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D3227
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205774 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader')
0 files changed, 0 insertions, 0 deletions
