summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mca/View.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvm-mca/View.cpp')
-rw-r--r--llvm/tools/llvm-mca/View.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/llvm/tools/llvm-mca/View.cpp b/llvm/tools/llvm-mca/View.cpp
new file mode 100644
index 00000000000..1b54e4ea022
--- /dev/null
+++ b/llvm/tools/llvm-mca/View.cpp
@@ -0,0 +1,21 @@
+//===----------------------- View.cpp ---------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+/// \file
+///
+/// This file defines the virtual anchor method in View.h to pin the vtable.
+///
+//===----------------------------------------------------------------------===//
+
+#include "View.h"
+
+namespace mca {
+
+void View::anchor() {}
+
+} // namespace mca
OpenPOWER on IntegriCloud