Add per-target support for asm translation in the cbe

llvm-svn: 31972
This commit is contained in:
Andrew Lenharth 2006-11-28 19:52:20 +00:00
parent 7b0a74da3c
commit c51f451af5
2 changed files with 9 additions and 1 deletions

View File

@ -275,6 +275,10 @@ namespace llvm {
///
const char *DwarfMacInfoSection; // Defaults to ".debug_macinfo".
//===--- CBE Asm Translation Table -----------------------------------===//
const char** AsmTransCBE; // Defaults to empty
public:
TargetAsmInfo();
virtual ~TargetAsmInfo();
@ -457,6 +461,9 @@ namespace llvm {
const char *getDwarfMacInfoSection() const {
return DwarfMacInfoSection;
}
const char** getAsmCBE() const {
return AsmTransCBE;
}
};
}

View File

@ -75,7 +75,8 @@ TargetAsmInfo::TargetAsmInfo() :
DwarfLocSection(".debug_loc"),
DwarfARangesSection(".debug_aranges"),
DwarfRangesSection(".debug_ranges"),
DwarfMacInfoSection(".debug_macinfo") {
DwarfMacInfoSection(".debug_macinfo"),
AsmTransCBE(0) {
}
TargetAsmInfo::~TargetAsmInfo() {