aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MC/MCAtom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/MC/MCAtom.cpp')
-rw-r--r--lib/MC/MCAtom.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/MC/MCAtom.cpp b/lib/MC/MCAtom.cpp
index d0a64c3008..bc353cdcf6 100644
--- a/lib/MC/MCAtom.cpp
+++ b/lib/MC/MCAtom.cpp
@@ -14,6 +14,9 @@
using namespace llvm;
+// Pin the vtable to this file.
+void MCAtom::anchor() {}
+
void MCAtom::remap(uint64_t NewBegin, uint64_t NewEnd) {
Parent->remap(this, NewBegin, NewEnd);
}