1//===-- MCTargetDesc/AMDGPUMCAsmInfo.h - AMDGPU MCAsm Interface -*- C++ -*-===//
2//
3//                     The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10/// \file
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_LIB_TARGET_R600_MCTARGETDESC_AMDGPUMCASMINFO_H
15#define LLVM_LIB_TARGET_R600_MCTARGETDESC_AMDGPUMCASMINFO_H
16
17#include "llvm/MC/MCAsmInfoELF.h"
18namespace llvm {
19
20class Triple;
21
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.
27class AMDGPUMCAsmInfo : public MCAsmInfoELF {
28public:
29  explicit AMDGPUMCAsmInfo(const Triple &TT);
30  bool shouldOmitSectionDirective(StringRef SectionName) const override;
31};
32} // namespace llvm
33#endif
34