AMDGPU/SI: Emit constant arrays in the .hsrodata_readonly_agent section
[oota-llvm.git] / lib / Target / AMDGPU / R600MachineFunctionInfo.cpp
index 48443fb57d84d5d546835842ce16a924de2aa638..01105c614c5530b90a8e08f301800d3f69174a16 100644 (file)
@@ -5,12 +5,16 @@
 // This file is distributed under the University of Illinois Open Source
 // License. See LICENSE.TXT for details.
 //
+/// \file
 //===----------------------------------------------------------------------===//
 
 #include "R600MachineFunctionInfo.h"
 
 using namespace llvm;
 
+
+// Pin the vtable to this file.
+void R600MachineFunctionInfo::anchor() {}
+
 R600MachineFunctionInfo::R600MachineFunctionInfo(const MachineFunction &MF)
-  : MachineFunctionInfo()
-  { }
+  : AMDGPUMachineFunction(MF) { }