mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 23:29:51 +00:00
Add per-target support for asm translation in the cbe
llvm-svn: 31972
This commit is contained in:
parent
7b0a74da3c
commit
c51f451af5
@ -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;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user