summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR
diff options
context:
space:
mode:
authorRong Xu <xur@google.com>2015-11-24 23:49:08 +0000
committerRong Xu <xur@google.com>2015-11-24 23:49:08 +0000
commit25c106b3479e743f36307fa46baecfc8954ea96a (patch)
treed8729c72c70c6b25572a075854cbafc765efbef4 /llvm/lib/IR
parenta46566f2db4ba5f8e082bfca5ae2e7edc728f2ba (diff)
downloadbcm5719-llvm-25c106b3479e743f36307fa46baecfc8954ea96a.tar.gz
bcm5719-llvm-25c106b3479e743f36307fa46baecfc8954ea96a.zip
[PGO] Revert revision r254021,r254028,r254035
Revert the above revision due to multiple issues. llvm-svn: 254040
Diffstat (limited to 'llvm/lib/IR')
-rw-r--r--llvm/lib/IR/DiagnosticInfo.cpp6
1 files changed, 0 insertions, 6 deletions
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();
}
OpenPOWER on IntegriCloud