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:
Andrew Lenharth 2006-11-28 19:52:20 +00:00
parent 7fc4a94bdd
commit 3655de6873
2 changed files with 9 additions and 1 deletions

View File

@ -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;
}
}; };
} }

View File

@ -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() {