1 //===-- MCTargetDesc/AMDGPUMCAsmInfo.h - AMDGPU MCAsm Interface -*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUMCASMINFO_H
15 #define LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUMCASMINFO_H
17 #include "llvm/MC/MCAsmInfoELF.h"
22 // If you need to create another MCAsmInfo class, which inherits from MCAsmInfo,
23 // you will need to make sure your new class sets PrivateGlobalPrefix to
24 // a prefix that won't appear in a function name. The default value
25 // for PrivateGlobalPrefix is 'L', so it will consider any function starting
26 // with 'L' as a local symbol.
27 class AMDGPUMCAsmInfo
: public MCAsmInfoELF
{
29 explicit AMDGPUMCAsmInfo(const Triple
&TT
);
30 bool shouldOmitSectionDirective(StringRef SectionName
) const override
;