[PATCH] D72523: [remark][diagnostics] Using clang diagnostic handler for IR input files
Rong Xu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 13 16:22:44 PST 2020
xur updated this revision to Diff 237810.
xur added a comment.
Thanks Teresa for the suggestion: using the print() function in the llvm diagnosticPrinter is a lot better than duplicating the code. I changed the patch to use print() function. Also added comment as suggested by Teresa.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72523/new/
https://reviews.llvm.org/D72523
Files:
clang/lib/CodeGen/CodeGenAction.cpp
clang/test/CodeGen/Inputs/thinlto_expect1.proftext
clang/test/CodeGen/Inputs/thinlto_expect2.proftext
clang/test/CodeGen/thinlto-clang-diagnostic-handler-in-be.c
clang/test/CodeGen/thinlto-diagnostic-handler-remarks-with-hotness.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72523.237810.patch
Type: text/x-patch
Size: 9219 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200114/2fce2db2/attachment.bin>
More information about the llvm-commits
mailing list