[PATCH] Use DiagnosticInfo facility.
Diego Novillo
dnovillo at google.com
Fri Mar 14 13:15:47 PDT 2014
Hi chandlerc, qcolombet,
The sample profiler pass emits several error messages. Instead of
just aborting the compiler with report_fatal_error, we can emit
better messages using DiagnosticInfo.
This adds a new sub-class of DiagnosticInfo to handle the sample
profiler.
http://llvm-reviews.chandlerc.com/D3086
Files:
include/llvm/IR/DiagnosticInfo.h
lib/IR/DiagnosticInfo.cpp
lib/Transforms/Scalar/SampleProfile.cpp
test/Transforms/SampleProfile/syntax.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3086.1.patch
Type: text/x-patch
Size: 11402 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140314/107f9f7d/attachment.bin>
More information about the llvm-commits
mailing list