Interchange Dwarf numbers of ESP and EBP on x86 Darwin.

Much improvement in exception handling.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43794 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dale Johannesen
2007-11-07 00:25:05 +00:00
parent a57506eea4
commit 483ec21d90
3 changed files with 21 additions and 1 deletions

View File

@@ -60,7 +60,7 @@ void RegisterInfoEmitter::runHeader(std::ostream &OS) {
OS << "struct " << ClassName << " : public MRegisterInfo {\n"
<< " " << ClassName
<< "(int CallFrameSetupOpcode = -1, int CallFrameDestroyOpcode = -1);\n"
<< " int getDwarfRegNum(unsigned RegNum) const;\n"
<< " virtual int getDwarfRegNum(unsigned RegNum) const;\n"
<< " unsigned getSubReg(unsigned RegNo, unsigned Index) const;\n"
<< "};\n\n";