Implement a really simple DwarfSjLjException.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130947 91177308-0d34-0410-b5e6-96231b3b80d8
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 @@
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