2014-09-30 09:05:27 +08:00
|
|
|
//===-- MCTargetDesc/AMDGPUMCAsmInfo.h - AMDGPU MCAsm Interface -*- C++ -*-===//
|
2012-12-12 05:25:42 +08:00
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
/// \file
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2014-08-14 00:26:38 +08:00
|
|
|
#ifndef LLVM_LIB_TARGET_R600_MCTARGETDESC_AMDGPUMCASMINFO_H
|
|
|
|
#define LLVM_LIB_TARGET_R600_MCTARGETDESC_AMDGPUMCASMINFO_H
|
2012-12-12 05:25:42 +08:00
|
|
|
|
2014-10-08 05:09:23 +08:00
|
|
|
#include "llvm/MC/MCAsmInfoELF.h"
|
2012-12-12 05:25:42 +08:00
|
|
|
namespace llvm {
|
|
|
|
|
2015-09-16 00:17:27 +08:00
|
|
|
class Triple;
|
2012-12-12 05:25:42 +08:00
|
|
|
|
2014-10-08 05:09:23 +08:00
|
|
|
// If you need to create another MCAsmInfo class, which inherits from MCAsmInfo,
|
|
|
|
// you will need to make sure your new class sets PrivateGlobalPrefix to
|
2015-07-30 06:32:47 +08:00
|
|
|
// a prefix that won't appear in a function name. The default value
|
2014-10-08 05:09:23 +08:00
|
|
|
// for PrivateGlobalPrefix is 'L', so it will consider any function starting
|
|
|
|
// with 'L' as a local symbol.
|
|
|
|
class AMDGPUMCAsmInfo : public MCAsmInfoELF {
|
2012-12-12 05:25:42 +08:00
|
|
|
public:
|
2015-09-16 00:17:27 +08:00
|
|
|
explicit AMDGPUMCAsmInfo(const Triple &TT);
|
2015-09-26 05:41:28 +08:00
|
|
|
bool shouldOmitSectionDirective(StringRef SectionName) const override;
|
2012-12-12 05:25:42 +08:00
|
|
|
};
|
|
|
|
} // namespace llvm
|
2014-08-14 00:26:38 +08:00
|
|
|
#endif
|