From 25c106b3479e743f36307fa46baecfc8954ea96a Mon Sep 17 00:00:00 2001 From: Rong Xu Date: Tue, 24 Nov 2015 23:49:08 +0000 Subject: [PGO] Revert revision r254021,r254028,r254035 Revert the above revision due to multiple issues. llvm-svn: 254040 --- llvm/lib/IR/DiagnosticInfo.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'llvm/lib/IR') diff --git a/llvm/lib/IR/DiagnosticInfo.cpp b/llvm/lib/IR/DiagnosticInfo.cpp index 6426f76bbaa..4753789d9c1 100644 --- a/llvm/lib/IR/DiagnosticInfo.cpp +++ b/llvm/lib/IR/DiagnosticInfo.cpp @@ -132,12 +132,6 @@ void DiagnosticInfoSampleProfile::print(DiagnosticPrinter &DP) const { DP << getMsg(); } -void DiagnosticInfoPGOProfile::print(DiagnosticPrinter &DP) const { - if (getFileName()) - DP << getFileName() << ": "; - DP << getMsg(); -} - bool DiagnosticInfoOptimizationBase::isLocationAvailable() const { return getDebugLoc(); } -- cgit v1.2.3