aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/AsmPrinter/DwarfException.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-11-12 21:59:20 +0000
committerBill Wendling <isanbard@gmail.com>2009-11-12 21:59:20 +0000
commited060dcb5c7e9cb2fd11ff3b0b98203fb53063e7 (patch)
tree53b58488c575e3d2307416cca86fa34d58963973 /lib/CodeGen/AsmPrinter/DwarfException.h
parent4ff4141a9ee9ce705f2a709f3372acaf58d86ea3 (diff)
downloadexternal_llvm-ed060dcb5c7e9cb2fd11ff3b0b98203fb53063e7.zip
external_llvm-ed060dcb5c7e9cb2fd11ff3b0b98203fb53063e7.tar.gz
external_llvm-ed060dcb5c7e9cb2fd11ff3b0b98203fb53063e7.tar.bz2
Refactor code that checks if it's a call to a "nounwind" function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@87036 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfException.h')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfException.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfException.h b/lib/CodeGen/AsmPrinter/DwarfException.h
index f6f5025..391cf05 100644
--- a/lib/CodeGen/AsmPrinter/DwarfException.h
+++ b/lib/CodeGen/AsmPrinter/DwarfException.h
@@ -155,6 +155,10 @@ class VISIBILITY_HIDDEN DwarfException : public Dwarf {
SmallVectorImpl<ActionEntry> &Actions,
SmallVectorImpl<unsigned> &FirstActions);
+ /// CallToNoUnwindFunction - Return `true' if this is a call to a function
+ /// marked `nounwind'. Return `false' otherwise.
+ bool CallToNoUnwindFunction(const MachineInstr *MI);
+
/// ComputeCallSiteTable - Compute the call-site table. The entry for an
/// invoke has a try-range containing the call, a non-zero landing pad and an
/// appropriate action. The entry for an ordinary call has a try-range