Add prototype for the lowersetjmp pass
authorChris Lattner <sabre@nondot.org>
Mon, 15 Sep 2003 05:05:23 +0000 (05:05 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 15 Sep 2003 05:05:23 +0000 (05:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8522 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Transforms/IPO.h

index 4f0809a69dbcd52b7f3e43ead00eecc04771834b..0da65307529e6f8484459010332646e9be3336df 100644 (file)
 class Pass;
 class Function;
 
+//===----------------------------------------------------------------------===//
+// createLowerSetJmpPass - This function lowers the setjmp/longjmp intrinsics to
+// invoke/unwind instructions.  This should really be part of the C/C++
+// front-end, but it's so much easier to write transformations in LLVM proper.
+//
+Pass* createLowerSetJmpPass();
+
 //===----------------------------------------------------------------------===//
 // createConstantMergePass - This function returns a new pass that merges
 // duplicate global constants together into a single constant that is shared.