[weak vtables] Remove a bunch of weak vtables
[oota-llvm.git] / lib / Target / R600 / AMDGPUMachineFunction.cpp
index f2342b0e8854ba11ea8cbc300b594047c47b7c6e..d4531012c84da1b2d88109e9814240e4d52ee729 100644 (file)
@@ -6,6 +6,9 @@ using namespace llvm;
 
 static const char *const ShaderTypeAttribute = "ShaderType";
 
+// pin vtable to this file
+void AMDGPUMachineFunction::anchor() {}
+
 AMDGPUMachineFunction::AMDGPUMachineFunction(const MachineFunction &MF) :
     MachineFunctionInfo() {
   ShaderType = ShaderType::COMPUTE;