summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/DiagnosticInfo.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2018-12-29 02:02:13 +0000
committerRichard Trieu <rtrieu@google.com>2018-12-29 02:02:13 +0000
commita87b70d1db817b34f9ef7f4312094da46b575205 (patch)
tree3ec390b0fb12fdcdaa3f8686d400e6cf15266058 /llvm/lib/IR/DiagnosticInfo.cpp
parent0a6cec6f9f1bd11147eb76d8d0b4df9d40bb873c (diff)
downloadbcm5719-llvm-a87b70d1db817b34f9ef7f4312094da46b575205.tar.gz
bcm5719-llvm-a87b70d1db817b34f9ef7f4312094da46b575205.zip
Add vtable anchor to classes.
llvm-svn: 350142
Diffstat (limited to 'llvm/lib/IR/DiagnosticInfo.cpp')
-rw-r--r--llvm/lib/IR/DiagnosticInfo.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/lib/IR/DiagnosticInfo.cpp b/llvm/lib/IR/DiagnosticInfo.cpp
index 3c6665bbcb7..dc957ab7dad 100644
--- a/llvm/lib/IR/DiagnosticInfo.cpp
+++ b/llvm/lib/IR/DiagnosticInfo.cpp
@@ -104,6 +104,11 @@ void DiagnosticInfoPGOProfile::print(DiagnosticPrinter &DP) const {
DP << getMsg();
}
+void DiagnosticInfo::anchor() {}
+void DiagnosticInfoStackSize::anchor() {}
+void DiagnosticInfoWithLocationBase::anchor() {}
+void DiagnosticInfoIROptimization::anchor() {}
+
DiagnosticLocation::DiagnosticLocation(const DebugLoc &DL) {
if (!DL)
return;
@@ -366,6 +371,9 @@ std::string DiagnosticInfoOptimizationBase::getMsg() const {
return OS.str();
}
+void OptimizationRemarkAnalysisFPCommute::anchor() {}
+void OptimizationRemarkAnalysisAliasing::anchor() {}
+
namespace llvm {
namespace yaml {
OpenPOWER on IntegriCloud