From f191c80cd79ee35e47b5a4feed98d687782dfe85 Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Sun, 11 Nov 2007 19:50:10 +0000 Subject: Use TableGen to emit information for dwarf register numbers. This makes DwarfRegNum to accept list of numbers instead. Added three different "flavours", but only slightly tested on x86-32/linux. Please check another subtargets if possible, git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43997 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Mips/MipsRegisterInfo.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/Target/Mips/MipsRegisterInfo.h') diff --git a/lib/Target/Mips/MipsRegisterInfo.h b/lib/Target/Mips/MipsRegisterInfo.h index adec3ed6e9..28f693647d 100644 --- a/lib/Target/Mips/MipsRegisterInfo.h +++ b/lib/Target/Mips/MipsRegisterInfo.h @@ -96,6 +96,8 @@ struct MipsRegisterInfo : public MipsGenRegisterInfo { /// Exception handling queries. unsigned getEHExceptionRegister() const; unsigned getEHHandlerRegister() const; + + int getDwarfRegNum(unsigned RegNum) const; }; } // end namespace llvm -- cgit v1.2.3