diff options
Diffstat (limited to 'llvm/lib/Transforms/IPO/SampleProfileProbe.cpp')
-rw-r--r-- | llvm/lib/Transforms/IPO/SampleProfileProbe.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/SampleProfileProbe.cpp b/llvm/lib/Transforms/IPO/SampleProfileProbe.cpp index b786685..8f0b12d 100644 --- a/llvm/lib/Transforms/IPO/SampleProfileProbe.cpp +++ b/llvm/lib/Transforms/IPO/SampleProfileProbe.cpp @@ -237,7 +237,8 @@ void SampleProfileProber::computeProbeIdForCallsites() { if (LastProbeId >= 0xFFFF) { std::string Msg = "Pseudo instrumentation incomplete for " + std::string(F->getName()) + " because it's too large"; - Ctx.diagnose(DiagnosticInfoSampleProfile(M->getName().data(), Msg)); + Ctx.diagnose( + DiagnosticInfoSampleProfile(M->getName().data(), Msg, DS_Warning)); return; } |