[PATCH] Add support for optimization reports.

Diego Novillo dnovillo at google.com
Fri Apr 11 15:48:22 PDT 2014


  In this update:

  - Do not force line/column info generation. Rather, warn when -Rpass is
    used without debug info.

  - Fix BackendConsumer::OptimizationRemarkHandler to operate the same way
    as the other diagnostic handlers. If no debug information is
    available, use an empty SourceLocation object.

  - Fix the -Rpass test to make it independent of the optimization level
    used.

Hi qcolombet, rsmith,

http://reviews.llvm.org/D3226

CHANGE SINCE LAST DIFF
  http://reviews.llvm.org/D3226?vs=8323&id=8491#toc

Files:
  include/clang/Basic/Diagnostic.td
  include/clang/Basic/DiagnosticDriverKinds.td
  include/clang/Basic/DiagnosticFrontendKinds.td
  include/clang/Basic/DiagnosticGroups.td
  include/clang/Basic/DiagnosticIDs.h
  include/clang/Driver/Options.td
  include/clang/Frontend/CodeGenOptions.h
  lib/Basic/DiagnosticIDs.cpp
  lib/CodeGen/CodeGenAction.cpp
  lib/Driver/Tools.cpp
  lib/Frontend/CompilerInvocation.cpp
  lib/Frontend/TextDiagnosticPrinter.cpp
  test/Frontend/optimization-remark.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3226.5.patch
Type: text/x-patch
Size: 12021 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140411/e696d821/attachment.bin>


More information about the cfe-commits mailing list