diff options
Diffstat (limited to 'include/llvm/Function.h')
-rw-r--r-- | include/llvm/Function.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h index 9319a5b39e..1edc17636c 100644 --- a/include/llvm/Function.h +++ b/include/llvm/Function.h @@ -253,7 +253,8 @@ public: else removeFnAttr(Attribute::NoUnwind); } - /// @brief True if the ABI mandates this function be in a unwind table. + /// @brief True if the ABI mandates (or the user requested) that this + /// function be in a unwind table. bool hasUWTable() const { return hasFnAttr(Attribute::UWTable); } @@ -264,7 +265,7 @@ public: removeFnAttr(Attribute::UWTable); } - /// @brief True if this function needs in a unwind table. + /// @brief True if this function needs an unwind table. bool needsUnwindTableEntry() const { return hasUWTable() || !doesNotThrow(); } |