diff options
author | Jim Laskey <jlaskey@mac.com> | 2007-02-21 22:54:50 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2007-02-21 22:54:50 +0000 |
commit | 62819f31440fe1b1415473a89b8683b5b690d5fa (patch) | |
tree | 15d4772f397f6011515a6abcc413770db46bf346 /include | |
parent | b180aa17539e14a5430d020bbc7de83c79b7fc4b (diff) | |
download | external_llvm-62819f31440fe1b1415473a89b8683b5b690d5fa.zip external_llvm-62819f31440fe1b1415473a89b8683b5b690d5fa.tar.gz external_llvm-62819f31440fe1b1415473a89b8683b5b690d5fa.tar.bz2 |
Support to provide exception and selector registers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34482 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Target/MRegisterInfo.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/llvm/Target/MRegisterInfo.h b/include/llvm/Target/MRegisterInfo.h index da111e6..3e38ccc 100644 --- a/include/llvm/Target/MRegisterInfo.h +++ b/include/llvm/Target/MRegisterInfo.h @@ -469,7 +469,15 @@ public: /// getRARegister - This method should return the register where the return /// address can be found. virtual unsigned getRARegister() const = 0; - + + /// getEHExceptionRegister - This method should return the register containing + /// the address of the exception info on entry to a landing pad. + virtual unsigned getEHExceptionRegister() const = 0; + + /// getEHHandlerRegister - This method should return the register containing + /// the switch table selection on entry to an landing pad. + virtual unsigned getEHHandlerRegister() const = 0; + /// getLocation - This method should return the actual location of a frame /// variable given the frame index. The location is returned in ML. /// Subclasses should override this method for special handling of frame |