diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-05-30 20:20:15 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-05-30 20:20:15 +0000 |
| commit | 08600bcf65b3a4ecd249d2316184a0bf45cd4962 (patch) | |
| tree | 2059e85a4bea81e43659c732db9035fa1d3da42b /llvm/lib/Target/MSP430/MSP430RegisterInfo.h | |
| parent | 8284374b07759a28c0856fc44c4088355d6b1318 (diff) | |
| download | bcm5719-llvm-08600bcf65b3a4ecd249d2316184a0bf45cd4962.tar.gz bcm5719-llvm-08600bcf65b3a4ecd249d2316184a0bf45cd4962.zip | |
Use the dwarf->llvm mapping to print register names in the cfi
directives.
Fixes PR9826.
llvm-svn: 132317
Diffstat (limited to 'llvm/lib/Target/MSP430/MSP430RegisterInfo.h')
| -rw-r--r-- | llvm/lib/Target/MSP430/MSP430RegisterInfo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/MSP430/MSP430RegisterInfo.h b/llvm/lib/Target/MSP430/MSP430RegisterInfo.h index e97608323a7..e82055876f2 100644 --- a/llvm/lib/Target/MSP430/MSP430RegisterInfo.h +++ b/llvm/lib/Target/MSP430/MSP430RegisterInfo.h @@ -61,6 +61,7 @@ public: //! Get DWARF debugging register number int getDwarfRegNum(unsigned RegNum, bool isEH) const; + int getLLVMRegNum(unsigned RegNum, bool isEH) const; }; } // end namespace llvm |

