AMDGPU/SI: Use .hsatext section instead of .text for HSA
[oota-llvm.git] / lib / Target / AMDGPU / Utils / AMDGPUBaseInfo.h
index f57028cc5bfd20ae7c9d74d0b360f77284edeecb..59a32a6b592d2475deb0bae82c223b265b1034f1 100644 (file)
@@ -15,6 +15,8 @@
 namespace llvm {
 
 class FeatureBitset;
+class MCContext;
+class MCSection;
 
 namespace AMDGPU {
 
@@ -27,6 +29,7 @@ struct IsaVersion {
 IsaVersion getIsaVersion(const FeatureBitset &Features);
 void initDefaultAMDKernelCodeT(amd_kernel_code_t &Header,
                                const FeatureBitset &Features);
+MCSection *getHSATextSection(MCContext &Ctx);
 
 } // end namespace AMDGPU
 } // end namespace llvm