diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-22 21:03:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-22 21:03:30 +0000 |
commit | 2807afa664b579af4c559b3880d6763b9e7e236a (patch) | |
tree | 96d7c8a96f8ff523a16dd03477ff5e311396727e /lib | |
parent | c2264596b76e248a0ec40e495cc904cb9d5a9a3a (diff) | |
download | external_llvm-2807afa664b579af4c559b3880d6763b9e7e236a.zip external_llvm-2807afa664b579af4c559b3880d6763b9e7e236a.tar.gz external_llvm-2807afa664b579af4c559b3880d6763b9e7e236a.tar.bz2 |
rename COFFMCAsmInfo -> MCAsmInfoCOFF, likewise for darwin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79773 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/MC/MCAsmInfoCOFF.cpp | 4 | ||||
-rw-r--r-- | lib/MC/MCAsmInfoDarwin.cpp | 2 | ||||
-rw-r--r-- | lib/Target/ARM/ARMMCAsmInfo.cpp | 2 | ||||
-rw-r--r-- | lib/Target/ARM/ARMMCAsmInfo.h | 4 | ||||
-rw-r--r-- | lib/Target/ARM/ARMTargetMachine.cpp | 2 | ||||
-rw-r--r-- | lib/Target/PowerPC/PPCMCAsmInfo.cpp | 4 | ||||
-rw-r--r-- | lib/Target/PowerPC/PPCMCAsmInfo.h | 6 | ||||
-rw-r--r-- | lib/Target/PowerPC/PPCTargetMachine.cpp | 2 | ||||
-rw-r--r-- | lib/Target/X86/X86MCAsmInfo.cpp | 4 | ||||
-rw-r--r-- | lib/Target/X86/X86MCAsmInfo.h | 8 | ||||
-rw-r--r-- | lib/Target/X86/X86TargetMachine.cpp | 4 |
11 files changed, 21 insertions, 21 deletions
diff --git a/lib/MC/MCAsmInfoCOFF.cpp b/lib/MC/MCAsmInfoCOFF.cpp index 7586eac..23b0dd7 100644 --- a/lib/MC/MCAsmInfoCOFF.cpp +++ b/lib/MC/MCAsmInfoCOFF.cpp @@ -1,4 +1,4 @@ -//===-- COFFMCAsmInfo.cpp - COFF asm properties -----------------*- C++ -*-===// +//===-- MCAsmInfoCOFF.cpp - COFF asm properties -----------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -16,7 +16,7 @@ #include "llvm/ADT/SmallVector.h" using namespace llvm; -COFFMCAsmInfo::COFFMCAsmInfo() { +MCAsmInfoCOFF::MCAsmInfoCOFF() { GlobalPrefix = "_"; LCOMMDirective = "\t.lcomm\t"; COMMDirectiveTakesAlignment = false; diff --git a/lib/MC/MCAsmInfoDarwin.cpp b/lib/MC/MCAsmInfoDarwin.cpp index 8e8c6f8..38b9e5b 100644 --- a/lib/MC/MCAsmInfoDarwin.cpp +++ b/lib/MC/MCAsmInfoDarwin.cpp @@ -15,7 +15,7 @@ #include "llvm/MC/MCAsmInfoDarwin.h" using namespace llvm; -DarwinMCAsmInfo::DarwinMCAsmInfo() { +MCAsmInfoDarwin::MCAsmInfoDarwin() { // Common settings for all Darwin targets. // Syntax: GlobalPrefix = "_"; diff --git a/lib/Target/ARM/ARMMCAsmInfo.cpp b/lib/Target/ARM/ARMMCAsmInfo.cpp index ed6f6b2..0ff65d2af 100644 --- a/lib/Target/ARM/ARMMCAsmInfo.cpp +++ b/lib/Target/ARM/ARMMCAsmInfo.cpp @@ -40,7 +40,7 @@ static const char *const arm_asm_table[] = { 0,0 }; -ARMDarwinMCAsmInfo::ARMDarwinMCAsmInfo() { +ARMMCAsmInfoDarwin::ARMMCAsmInfoDarwin() { AsmTransCBE = arm_asm_table; Data64bitsDirective = 0; CommentString = "@"; diff --git a/lib/Target/ARM/ARMMCAsmInfo.h b/lib/Target/ARM/ARMMCAsmInfo.h index e263ece..90f7822 100644 --- a/lib/Target/ARM/ARMMCAsmInfo.h +++ b/lib/Target/ARM/ARMMCAsmInfo.h @@ -18,8 +18,8 @@ namespace llvm { - struct ARMDarwinMCAsmInfo : public DarwinMCAsmInfo { - explicit ARMDarwinMCAsmInfo(); + struct ARMMCAsmInfoDarwin : public MCAsmInfoDarwin { + explicit ARMMCAsmInfoDarwin(); }; struct ARMELFMCAsmInfo : public MCAsmInfo { diff --git a/lib/Target/ARM/ARMTargetMachine.cpp b/lib/Target/ARM/ARMTargetMachine.cpp index ae5107a..6a8519a 100644 --- a/lib/Target/ARM/ARMTargetMachine.cpp +++ b/lib/Target/ARM/ARMTargetMachine.cpp @@ -32,7 +32,7 @@ static const MCAsmInfo *createMCAsmInfo(const Target &T, Triple TheTriple(TT); switch (TheTriple.getOS()) { case Triple::Darwin: - return new ARMDarwinMCAsmInfo(); + return new ARMMCAsmInfoDarwin(); default: return new ARMELFMCAsmInfo(); } diff --git a/lib/Target/PowerPC/PPCMCAsmInfo.cpp b/lib/Target/PowerPC/PPCMCAsmInfo.cpp index c9ff842..c87879b 100644 --- a/lib/Target/PowerPC/PPCMCAsmInfo.cpp +++ b/lib/Target/PowerPC/PPCMCAsmInfo.cpp @@ -7,14 +7,14 @@ // //===----------------------------------------------------------------------===// // -// 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; diff --git a/lib/Target/PowerPC/PPCMCAsmInfo.h b/lib/Target/PowerPC/PPCMCAsmInfo.h index 3f5118b..96ae6fb 100644 --- a/lib/Target/PowerPC/PPCMCAsmInfo.h +++ b/lib/Target/PowerPC/PPCMCAsmInfo.h @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// // -// This file contains the declaration of the DarwinMCAsmInfo class. +// This file contains the declaration of the MCAsmInfoDarwin class. // //===----------------------------------------------------------------------===// @@ -18,8 +18,8 @@ namespace llvm { - struct PPCDarwinMCAsmInfo : public DarwinMCAsmInfo { - explicit PPCDarwinMCAsmInfo(bool is64Bit); + struct PPCMCAsmInfoDarwin : public MCAsmInfoDarwin { + explicit PPCMCAsmInfoDarwin(bool is64Bit); }; struct PPCLinuxMCAsmInfo : public MCAsmInfo { diff --git a/lib/Target/PowerPC/PPCTargetMachine.cpp b/lib/Target/PowerPC/PPCTargetMachine.cpp index de3a3d0..3371954 100644 --- a/lib/Target/PowerPC/PPCTargetMachine.cpp +++ b/lib/Target/PowerPC/PPCTargetMachine.cpp @@ -25,7 +25,7 @@ static const MCAsmInfo *createMCAsmInfo(const Target &T, 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); } diff --git a/lib/Target/X86/X86MCAsmInfo.cpp b/lib/Target/X86/X86MCAsmInfo.cpp index 9393fb8..eaa73e1 100644 --- a/lib/Target/X86/X86MCAsmInfo.cpp +++ b/lib/Target/X86/X86MCAsmInfo.cpp @@ -43,7 +43,7 @@ static const char *const x86_asm_table[] = { "{cc}", "cc", 0,0}; -X86DarwinMCAsmInfo::X86DarwinMCAsmInfo(const Triple &Triple) { +X86MCAsmInfoDarwin::X86MCAsmInfoDarwin(const Triple &Triple) { AsmTransCBE = x86_asm_table; AssemblerDialect = AsmWriterFlavor; @@ -101,7 +101,7 @@ X86ELFMCAsmInfo::X86ELFMCAsmInfo(const Triple &Triple) { NonexecutableStackDirective = "\t.section\t.note.GNU-stack,\"\",@progbits"; } -X86COFFMCAsmInfo::X86COFFMCAsmInfo(const Triple &Triple) { +X86MCAsmInfoCOFF::X86MCAsmInfoCOFF(const Triple &Triple) { AsmTransCBE = x86_asm_table; AssemblerDialect = AsmWriterFlavor; } diff --git a/lib/Target/X86/X86MCAsmInfo.h b/lib/Target/X86/X86MCAsmInfo.h index 7c1bfac..18e2bdb 100644 --- a/lib/Target/X86/X86MCAsmInfo.h +++ b/lib/Target/X86/X86MCAsmInfo.h @@ -21,16 +21,16 @@ 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 { diff --git a/lib/Target/X86/X86TargetMachine.cpp b/lib/Target/X86/X86TargetMachine.cpp index 689cebd..4651f46 100644 --- a/lib/Target/X86/X86TargetMachine.cpp +++ b/lib/Target/X86/X86TargetMachine.cpp @@ -27,11 +27,11 @@ static const MCAsmInfo *createMCAsmInfo(const Target &T, 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: |