[weak vtables] Remove a bunch of weak vtables
[oota-llvm.git] / lib / Target / NVPTX / NVPTXSubtarget.cpp
index c4d0d6e4193dab9513dc2125262d7d98db353d32..3e5bcf79dd654941673b5db726d7e6f84da91bb4 100644 (file)
@@ -20,6 +20,9 @@
 using namespace llvm;
 
 
+// pin vtable to this file
+void NVPTXSubtarget::anchor() {}
+
 NVPTXSubtarget::NVPTXSubtarget(const std::string &TT, const std::string &CPU,
                                const std::string &FS, bool is64Bit)
     : NVPTXGenSubtargetInfo(TT, CPU, FS), Is64Bit(is64Bit), PTXVersion(0),