diff options
author | Vivek Pandya <vivekvpandya@gmail.com> | 2017-09-15 20:10:09 +0000 |
---|---|---|
committer | Vivek Pandya <vivekvpandya@gmail.com> | 2017-09-15 20:10:09 +0000 |
commit | b5ab895e2a62486d29e3bc564cc3f2edde3ff719 (patch) | |
tree | cdbf913ec72b8076539da7d2a592d930b68c153b /llvm/lib/CodeGen/WinEHPrepare.cpp | |
parent | 1dee3be51b77bb29bb7a5293b06f54f29d12d7d0 (diff) | |
download | bcm5719-llvm-b5ab895e2a62486d29e3bc564cc3f2edde3ff719.tar.gz bcm5719-llvm-b5ab895e2a62486d29e3bc564cc3f2edde3ff719.zip |
This patch fixes https://bugs.llvm.org/show_bug.cgi?id=32352
It enables OptimizationRemarkEmitter::allowExtraAnalysis and MachineOptimizationRemarkEmitter::allowExtraAnalysis to return true not only for -fsave-optimization-record but when specific remarks are requested with
command line options.
The diagnostic handler used to be callback now this patch adds a class
DiagnosticHandler. It has virtual method to provide custom diagnostic handler
and methods to control which particular remarks are enabled.
However LLVM-C API users can still provide callback function for diagnostic handler.
llvm-svn: 313390
Diffstat (limited to 'llvm/lib/CodeGen/WinEHPrepare.cpp')
0 files changed, 0 insertions, 0 deletions