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