O << "\t.type\t" << CurrentFnName << ", #function\n";
O << CurrentFnName << ":\n";
O << "\t.type\t" << CurrentFnName << ", #function\n";
O << CurrentFnName << ":\n";
+ // Emit pre-function debug information.
+ DW->BeginFunction(&MF);
// Number each basic block so that we can consistently refer to them
// in PC-relative references.
// Number each basic block so that we can consistently refer to them
// in PC-relative references.
+ // Emit post-function debug information.
+ DW->EndFunction(&MF);
+
// We didn't modify anything.
return false;
}
// We didn't modify anything.
return false;
}
ZeroDirective = "\t.skip\t";
CommentString = "!";
COMMDirectiveTakesAlignment = true;
ZeroDirective = "\t.skip\t";
CommentString = "!";
COMMDirectiveTakesAlignment = true;
+ HasLEB128 = true;
+ AbsoluteDebugSectionOffsets = true;
+ SupportsDebugInformation = true;
SunStyleELFSectionSwitchSyntax = true;
UsesELFSectionDirectiveForBSS = true;
SunStyleELFSectionSwitchSyntax = true;
UsesELFSectionDirectiveForBSS = true;
}
unsigned SparcRegisterInfo::getRARegister() const {
}
unsigned SparcRegisterInfo::getRARegister() const {
- llvm_unreachable("What is the return address register");
- return 0;
}
unsigned SparcRegisterInfo::getFrameRegister(MachineFunction &MF) const {
}
unsigned SparcRegisterInfo::getFrameRegister(MachineFunction &MF) const {
- llvm_unreachable("What is the frame register");
- return SP::G1;
}
unsigned SparcRegisterInfo::getEHExceptionRegister() const {
}
unsigned SparcRegisterInfo::getEHExceptionRegister() const {
}
int SparcRegisterInfo::getDwarfRegNum(unsigned RegNum, bool isEH) const {
}
int SparcRegisterInfo::getDwarfRegNum(unsigned RegNum, bool isEH) const {
- llvm_unreachable("What is the dwarf register number");
- return -1;
+ return SparcGenRegisterInfo::getDwarfRegNumFull(RegNum, 0);
}
#include "SparcGenRegisterInfo.inc"
}
#include "SparcGenRegisterInfo.inc"