summaryrefslogtreecommitdiff
path: root/contrib/llvm/lib/MCA/HardwareUnits/HardwareUnit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm/lib/MCA/HardwareUnits/HardwareUnit.cpp')
-rw-r--r--contrib/llvm/lib/MCA/HardwareUnits/HardwareUnit.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/contrib/llvm/lib/MCA/HardwareUnits/HardwareUnit.cpp b/contrib/llvm/lib/MCA/HardwareUnits/HardwareUnit.cpp
new file mode 100644
index 000000000000..edd32b9c0c1a
--- /dev/null
+++ b/contrib/llvm/lib/MCA/HardwareUnits/HardwareUnit.cpp
@@ -0,0 +1,25 @@
+//===------------------------- HardwareUnit.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 anchor for the base class that describes
+/// simulated hardware units.
+///
+//===----------------------------------------------------------------------===//
+
+#include "llvm/MCA/HardwareUnits/HardwareUnit.h"
+
+namespace llvm {
+namespace mca {
+
+// Pin the vtable with this method.
+HardwareUnit::~HardwareUnit() = default;
+
+} // namespace mca
+} // namespace llvm