From: Joerg Sonnenberger Date: Mon, 7 Mar 2016 17:18:41 +0000 (+0000) Subject: Describe the magic numbers returned by getEHDataRegisterNumber. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d0b0706bcc0912e482dd911fb6f3481e5d82a36;p=clang Describe the magic numbers returned by getEHDataRegisterNumber. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@262837 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/TargetInfo.h b/include/clang/Basic/TargetInfo.h index 633f54f797..08595c2e81 100644 --- a/include/clang/Basic/TargetInfo.h +++ b/include/clang/Basic/TargetInfo.h @@ -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; }