mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 23:31:37 +00:00
Add per-target support for asm translation in the cbe
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31972 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7fc4a94bdd
commit
3655de6873
@ -275,6 +275,10 @@ namespace llvm {
|
|||||||
///
|
///
|
||||||
const char *DwarfMacInfoSection; // Defaults to ".debug_macinfo".
|
const char *DwarfMacInfoSection; // Defaults to ".debug_macinfo".
|
||||||
|
|
||||||
|
//===--- CBE Asm Translation Table -----------------------------------===//
|
||||||
|
|
||||||
|
const char** AsmTransCBE; // Defaults to empty
|
||||||
|
|
||||||
public:
|
public:
|
||||||
TargetAsmInfo();
|
TargetAsmInfo();
|
||||||
virtual ~TargetAsmInfo();
|
virtual ~TargetAsmInfo();
|
||||||
@ -457,6 +461,9 @@ namespace llvm {
|
|||||||
const char *getDwarfMacInfoSection() const {
|
const char *getDwarfMacInfoSection() const {
|
||||||
return DwarfMacInfoSection;
|
return DwarfMacInfoSection;
|
||||||
}
|
}
|
||||||
|
const char** getAsmCBE() const {
|
||||||
|
return AsmTransCBE;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -75,7 +75,8 @@ TargetAsmInfo::TargetAsmInfo() :
|
|||||||
DwarfLocSection(".debug_loc"),
|
DwarfLocSection(".debug_loc"),
|
||||||
DwarfARangesSection(".debug_aranges"),
|
DwarfARangesSection(".debug_aranges"),
|
||||||
DwarfRangesSection(".debug_ranges"),
|
DwarfRangesSection(".debug_ranges"),
|
||||||
DwarfMacInfoSection(".debug_macinfo") {
|
DwarfMacInfoSection(".debug_macinfo"),
|
||||||
|
AsmTransCBE(0) {
|
||||||
}
|
}
|
||||||
|
|
||||||
TargetAsmInfo::~TargetAsmInfo() {
|
TargetAsmInfo::~TargetAsmInfo() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user