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