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