Skip to content

Commit

Permalink
Describe the magic numbers returned by getEHDataRegisterNumber.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@262837 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
jsonn committed Mar 7, 2016
1 parent 298821f commit 4d0b070
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/clang/Basic/TargetInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -873,6 +873,8 @@ class TargetInfo : public RefCountedBase<TargetInfo> {

/// \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;
}
Expand Down

0 comments on commit 4d0b070

Please sign in to comment.