aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/AsmPrinter/DwarfException.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-05-05 20:48:31 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-05-05 20:48:31 +0000
commitecf58b9e3c4f0d1e0abc7aa7ce95dd42c674acee (patch)
tree3d61c9e465212640f0f0c91ba7426ddc92deb497 /lib/CodeGen/AsmPrinter/DwarfException.h
parent2d57a6470181e7cc6396caae69e045cd0549d10e (diff)
downloadexternal_llvm-ecf58b9e3c4f0d1e0abc7aa7ce95dd42c674acee.zip
external_llvm-ecf58b9e3c4f0d1e0abc7aa7ce95dd42c674acee.tar.gz
external_llvm-ecf58b9e3c4f0d1e0abc7aa7ce95dd42c674acee.tar.bz2
Implement a really simple DwarfSjLjException.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130947 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfException.h')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfException.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfException.h b/lib/CodeGen/AsmPrinter/DwarfException.h
index f111641..d212a63 100644
--- a/lib/CodeGen/AsmPrinter/DwarfException.h
+++ b/lib/CodeGen/AsmPrinter/DwarfException.h
@@ -238,6 +238,25 @@ public:
virtual void EndFunction();
};
+class DwarfSjLjException : public DwarfException {
+public:
+ //===--------------------------------------------------------------------===//
+ // Main entry points.
+ //
+ DwarfSjLjException(AsmPrinter *A);
+ virtual ~DwarfSjLjException();
+
+ /// EndModule - Emit all exception information that should come after the
+ /// content.
+ virtual void EndModule();
+
+ /// BeginFunction - Gather pre-function exception information. Assumes being
+ /// emitted immediately after the function entry point.
+ virtual void BeginFunction(const MachineFunction *MF);
+
+ /// EndFunction - Gather and emit post-function exception information.
+ virtual void EndFunction();
+};
class ARMException : public DwarfException {
/// shouldEmitTable - Per-function flag to indicate if EH tables should