mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-25 16:29:20 +00:00
MC: Clean up naming in MCObjectFileInfo.h.
Init*() methods to init*(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239121 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
71c4d5dcbf
commit
22a5d492ef
@ -335,9 +335,9 @@ private:
|
||||
MCContext *Ctx;
|
||||
Triple TT;
|
||||
|
||||
void InitMachOMCObjectFileInfo(Triple T);
|
||||
void InitELFMCObjectFileInfo(Triple T);
|
||||
void InitCOFFMCObjectFileInfo(Triple T);
|
||||
void initMachOMCObjectFileInfo(Triple T);
|
||||
void initELFMCObjectFileInfo(Triple T);
|
||||
void initCOFFMCObjectFileInfo(Triple T);
|
||||
|
||||
/// Initialize EHFrameSection on demand.
|
||||
void InitEHFrameSection();
|
||||
|
@ -39,7 +39,7 @@ static bool useCompactUnwind(const Triple &T) {
|
||||
return false;
|
||||
}
|
||||
|
||||
void MCObjectFileInfo::InitMachOMCObjectFileInfo(Triple T) {
|
||||
void MCObjectFileInfo::initMachOMCObjectFileInfo(Triple T) {
|
||||
// MachO
|
||||
SupportsWeakOmittedEHFrame = false;
|
||||
|
||||
@ -241,7 +241,7 @@ void MCObjectFileInfo::InitMachOMCObjectFileInfo(Triple T) {
|
||||
TLSExtraDataSection = TLSTLVSection;
|
||||
}
|
||||
|
||||
void MCObjectFileInfo::InitELFMCObjectFileInfo(Triple T) {
|
||||
void MCObjectFileInfo::initELFMCObjectFileInfo(Triple T) {
|
||||
switch (T.getArch()) {
|
||||
case Triple::mips:
|
||||
case Triple::mipsel:
|
||||
@ -520,7 +520,7 @@ void MCObjectFileInfo::InitELFMCObjectFileInfo(Triple T) {
|
||||
Ctx->getELFSection(".llvm_stackmaps", ELF::SHT_PROGBITS, ELF::SHF_ALLOC);
|
||||
}
|
||||
|
||||
void MCObjectFileInfo::InitCOFFMCObjectFileInfo(Triple T) {
|
||||
void MCObjectFileInfo::initCOFFMCObjectFileInfo(Triple T) {
|
||||
bool IsWoA = T.getArch() == Triple::arm || T.getArch() == Triple::thumb;
|
||||
|
||||
CommDirectiveSupportsAlignment = true;
|
||||
@ -765,15 +765,15 @@ void MCObjectFileInfo::InitMCObjectFileInfo(StringRef T, Reloc::Model relocm,
|
||||
Arch == Triple::UnknownArch) &&
|
||||
TT.isOSBinFormatMachO()) {
|
||||
Env = IsMachO;
|
||||
InitMachOMCObjectFileInfo(TT);
|
||||
initMachOMCObjectFileInfo(TT);
|
||||
} else if ((Arch == Triple::x86 || Arch == Triple::x86_64 ||
|
||||
Arch == Triple::arm || Arch == Triple::thumb) &&
|
||||
(TT.isOSWindows() && TT.getObjectFormat() == Triple::COFF)) {
|
||||
Env = IsCOFF;
|
||||
InitCOFFMCObjectFileInfo(TT);
|
||||
initCOFFMCObjectFileInfo(TT);
|
||||
} else {
|
||||
Env = IsELF;
|
||||
InitELFMCObjectFileInfo(TT);
|
||||
initELFMCObjectFileInfo(TT);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user