mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 21:32:39 +00:00
remove the x86/ppc impls of getEHGlobalPrefix, which is already dead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77861 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2b800dfa6b
commit
83f08a2efd
@ -32,13 +32,6 @@ PPCDarwinTargetAsmInfo::PPCDarwinTargetAsmInfo(const PPCTargetMachine &TM) :
|
|||||||
SupportsWeakOmittedEHFrame = false;
|
SupportsWeakOmittedEHFrame = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *PPCDarwinTargetAsmInfo::getEHGlobalPrefix() const {
|
|
||||||
const PPCSubtarget* Subtarget = &TM.getSubtarget<PPCSubtarget>();
|
|
||||||
if (Subtarget->getDarwinVers() > 9)
|
|
||||||
return PrivateGlobalPrefix;
|
|
||||||
return "";
|
|
||||||
}
|
|
||||||
|
|
||||||
PPCLinuxTargetAsmInfo::PPCLinuxTargetAsmInfo(const PPCTargetMachine &TM) :
|
PPCLinuxTargetAsmInfo::PPCLinuxTargetAsmInfo(const PPCTargetMachine &TM) :
|
||||||
PPCTargetAsmInfo<ELFTargetAsmInfo>(TM) {
|
PPCTargetAsmInfo<ELFTargetAsmInfo>(TM) {
|
||||||
CommentString = "#";
|
CommentString = "#";
|
||||||
|
@ -46,7 +46,6 @@ namespace llvm {
|
|||||||
|
|
||||||
struct PPCDarwinTargetAsmInfo : public PPCTargetAsmInfo<DarwinTargetAsmInfo> {
|
struct PPCDarwinTargetAsmInfo : public PPCTargetAsmInfo<DarwinTargetAsmInfo> {
|
||||||
explicit PPCDarwinTargetAsmInfo(const PPCTargetMachine &TM);
|
explicit PPCDarwinTargetAsmInfo(const PPCTargetMachine &TM);
|
||||||
virtual const char *getEHGlobalPrefix() const;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct PPCLinuxTargetAsmInfo : public PPCTargetAsmInfo<ELFTargetAsmInfo> {
|
struct PPCLinuxTargetAsmInfo : public PPCTargetAsmInfo<ELFTargetAsmInfo> {
|
||||||
|
@ -86,14 +86,6 @@ X86DarwinTargetAsmInfo::X86DarwinTargetAsmInfo(const X86TargetMachine &TM):
|
|||||||
".section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support";
|
".section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support";
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *
|
|
||||||
X86DarwinTargetAsmInfo::getEHGlobalPrefix() const {
|
|
||||||
const X86Subtarget* Subtarget = &TM.getSubtarget<X86Subtarget>();
|
|
||||||
if (Subtarget->getDarwinVers() > 9)
|
|
||||||
return PrivateGlobalPrefix;
|
|
||||||
return "";
|
|
||||||
}
|
|
||||||
|
|
||||||
X86ELFTargetAsmInfo::X86ELFTargetAsmInfo(const X86TargetMachine &TM) :
|
X86ELFTargetAsmInfo::X86ELFTargetAsmInfo(const X86TargetMachine &TM) :
|
||||||
X86TargetAsmInfo<ELFTargetAsmInfo>(TM) {
|
X86TargetAsmInfo<ELFTargetAsmInfo>(TM) {
|
||||||
|
|
||||||
|
@ -37,7 +37,6 @@ namespace llvm {
|
|||||||
|
|
||||||
struct X86DarwinTargetAsmInfo : public X86TargetAsmInfo<DarwinTargetAsmInfo> {
|
struct X86DarwinTargetAsmInfo : public X86TargetAsmInfo<DarwinTargetAsmInfo> {
|
||||||
explicit X86DarwinTargetAsmInfo(const X86TargetMachine &TM);
|
explicit X86DarwinTargetAsmInfo(const X86TargetMachine &TM);
|
||||||
virtual const char *getEHGlobalPrefix() const;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct X86ELFTargetAsmInfo : public X86TargetAsmInfo<ELFTargetAsmInfo> {
|
struct X86ELFTargetAsmInfo : public X86TargetAsmInfo<ELFTargetAsmInfo> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user