#include "llvm/MC/MCAsmInfo.h"
namespace llvm {
- class COFFMCAsmInfo : public MCAsmInfo {
+ class MCAsmInfoCOFF : public MCAsmInfo {
protected:
- explicit COFFMCAsmInfo();
+ explicit MCAsmInfoCOFF();
};
}
class Type;
class Mangler;
- struct DarwinMCAsmInfo : public MCAsmInfo {
- explicit DarwinMCAsmInfo();
+ struct MCAsmInfoDarwin : public MCAsmInfo {
+ explicit MCAsmInfoDarwin();
};
}
-//===-- COFFMCAsmInfo.cpp - COFF asm properties -----------------*- C++ -*-===//
+//===-- MCAsmInfoCOFF.cpp - COFF asm properties -----------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
#include "llvm/ADT/SmallVector.h"
using namespace llvm;
-COFFMCAsmInfo::COFFMCAsmInfo() {
+MCAsmInfoCOFF::MCAsmInfoCOFF() {
GlobalPrefix = "_";
LCOMMDirective = "\t.lcomm\t";
COMMDirectiveTakesAlignment = false;
#include "llvm/MC/MCAsmInfoDarwin.h"
using namespace llvm;
-DarwinMCAsmInfo::DarwinMCAsmInfo() {
+MCAsmInfoDarwin::MCAsmInfoDarwin() {
// Common settings for all Darwin targets.
// Syntax:
GlobalPrefix = "_";
0,0
};
-ARMDarwinMCAsmInfo::ARMDarwinMCAsmInfo() {
+ARMMCAsmInfoDarwin::ARMMCAsmInfoDarwin() {
AsmTransCBE = arm_asm_table;
Data64bitsDirective = 0;
CommentString = "@";
namespace llvm {
- struct ARMDarwinMCAsmInfo : public DarwinMCAsmInfo {
- explicit ARMDarwinMCAsmInfo();
+ struct ARMMCAsmInfoDarwin : public MCAsmInfoDarwin {
+ explicit ARMMCAsmInfoDarwin();
};
struct ARMELFMCAsmInfo : public MCAsmInfo {
Triple TheTriple(TT);
switch (TheTriple.getOS()) {
case Triple::Darwin:
- return new ARMDarwinMCAsmInfo();
+ return new ARMMCAsmInfoDarwin();
default:
return new ARMELFMCAsmInfo();
}
//
//===----------------------------------------------------------------------===//
//
-// This file contains the declarations of the DarwinMCAsmInfo properties.
+// This file contains the declarations of the MCAsmInfoDarwin properties.
//
//===----------------------------------------------------------------------===//
#include "PPCMCAsmInfo.h"
using namespace llvm;
-PPCDarwinMCAsmInfo::PPCDarwinMCAsmInfo(bool is64Bit) {
+PPCMCAsmInfoDarwin::PPCMCAsmInfoDarwin(bool is64Bit) {
PCSymbol = ".";
CommentString = ";";
ExceptionsType = ExceptionHandling::Dwarf;
//
//===----------------------------------------------------------------------===//
//
-// This file contains the declaration of the DarwinMCAsmInfo class.
+// This file contains the declaration of the MCAsmInfoDarwin class.
//
//===----------------------------------------------------------------------===//
namespace llvm {
- struct PPCDarwinMCAsmInfo : public DarwinMCAsmInfo {
- explicit PPCDarwinMCAsmInfo(bool is64Bit);
+ struct PPCMCAsmInfoDarwin : public MCAsmInfoDarwin {
+ explicit PPCMCAsmInfoDarwin(bool is64Bit);
};
struct PPCLinuxMCAsmInfo : public MCAsmInfo {
Triple TheTriple(TT);
bool isPPC64 = TheTriple.getArch() == Triple::ppc64;
if (TheTriple.getOS() == Triple::Darwin)
- return new PPCDarwinMCAsmInfo(isPPC64);
+ return new PPCMCAsmInfoDarwin(isPPC64);
return new PPCLinuxMCAsmInfo(isPPC64);
}
"{cc}", "cc",
0,0};
-X86DarwinMCAsmInfo::X86DarwinMCAsmInfo(const Triple &Triple) {
+X86MCAsmInfoDarwin::X86MCAsmInfoDarwin(const Triple &Triple) {
AsmTransCBE = x86_asm_table;
AssemblerDialect = AsmWriterFlavor;
NonexecutableStackDirective = "\t.section\t.note.GNU-stack,\"\",@progbits";
}
-X86COFFMCAsmInfo::X86COFFMCAsmInfo(const Triple &Triple) {
+X86MCAsmInfoCOFF::X86MCAsmInfoCOFF(const Triple &Triple) {
AsmTransCBE = x86_asm_table;
AssemblerDialect = AsmWriterFlavor;
}
namespace llvm {
class Triple;
- struct X86DarwinMCAsmInfo : public DarwinMCAsmInfo {
- explicit X86DarwinMCAsmInfo(const Triple &Triple);
+ struct X86MCAsmInfoDarwin : public MCAsmInfoDarwin {
+ explicit X86MCAsmInfoDarwin(const Triple &Triple);
};
struct X86ELFMCAsmInfo : public MCAsmInfo {
explicit X86ELFMCAsmInfo(const Triple &Triple);
};
- struct X86COFFMCAsmInfo : public COFFMCAsmInfo {
- explicit X86COFFMCAsmInfo(const Triple &Triple);
+ struct X86MCAsmInfoCOFF : public MCAsmInfoCOFF {
+ explicit X86MCAsmInfoCOFF(const Triple &Triple);
};
struct X86WinMCAsmInfo : public MCAsmInfo {
Triple TheTriple(TT);
switch (TheTriple.getOS()) {
case Triple::Darwin:
- return new X86DarwinMCAsmInfo(TheTriple);
+ return new X86MCAsmInfoDarwin(TheTriple);
case Triple::MinGW32:
case Triple::MinGW64:
case Triple::Cygwin:
- return new X86COFFMCAsmInfo(TheTriple);
+ return new X86MCAsmInfoCOFF(TheTriple);
case Triple::Win32:
return new X86WinMCAsmInfo(TheTriple);
default: