[PATCH] D23284: Add -Rpass-with-hotness

Adam Nemet via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 10 21:28:32 PDT 2016


anemet updated this revision to Diff 67653.
anemet added a comment.

Since -Rpass-with-hotness is not part of R_group, we need to manually forward
it to clang -cc1.  I've also extended the test to cover this bug.


https://reviews.llvm.org/D23284

Files:
  include/clang/Basic/DiagnosticDriverKinds.td
  include/clang/Driver/Options.td
  include/clang/Frontend/CodeGenOptions.def
  lib/CodeGen/CodeGenAction.cpp
  lib/Driver/Tools.cpp
  lib/Frontend/CompilerInvocation.cpp
  test/Frontend/Inputs/optimization-remark-with-hotness.proftext
  test/Frontend/optimization-remark-with-hotness.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23284.67653.patch
Type: text/x-patch
Size: 7513 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160811/977e885d/attachment-0001.bin>


More information about the cfe-commits mailing list