diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h index f4b755c8a3a..2c695e9d73e 100644 --- a/include/llvm/Target/TargetAsmInfo.h +++ b/include/llvm/Target/TargetAsmInfo.h @@ -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; + } }; } diff --git a/lib/Target/TargetAsmInfo.cpp b/lib/Target/TargetAsmInfo.cpp index d68affd96b1..2b4f2f79c8e 100644 --- a/lib/Target/TargetAsmInfo.cpp +++ b/lib/Target/TargetAsmInfo.cpp @@ -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() {