]> granicus.if.org Git - clang/commitdiff
Describe the magic numbers returned by getEHDataRegisterNumber.
authorJoerg Sonnenberger <joerg@bec.de>
Mon, 7 Mar 2016 17:18:41 +0000 (17:18 +0000)
committerJoerg Sonnenberger <joerg@bec.de>
Mon, 7 Mar 2016 17:18:41 +0000 (17:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@262837 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/TargetInfo.h

index 633f54f7973ac673783fd42a315d9da35cac65a0..08595c2e81b82d1258fc9e823b20b624a30615a7 100644 (file)
@@ -873,6 +873,8 @@ public:
 
   /// \brief Return the register number that __builtin_eh_return_regno would
   /// return with the specified argument.
+  /// This corresponds with TargetLowering's getExceptionPointerRegister
+  /// and getExceptionSelectorRegister in the backend.
   virtual int getEHDataRegisterNumber(unsigned RegNo) const {
     return -1;
   }