From 4d0b0706bcc0912e482dd911fb6f3481e5d82a36 Mon Sep 17 00:00:00 2001 From: Joerg Sonnenberger Date: Mon, 7 Mar 2016 17:18:41 +0000 Subject: [PATCH] Describe the magic numbers returned by getEHDataRegisterNumber. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@262837 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Basic/TargetInfo.h | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.50.1