From 370910d2a0655056ccad108c2cd7490c7fe04650 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 15 Sep 2003 05:05:23 +0000 Subject: [PATCH] Add prototype for the lowersetjmp pass git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8522 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Transforms/IPO.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h index 4f0809a69db..0da65307529 100644 --- a/include/llvm/Transforms/IPO.h +++ b/include/llvm/Transforms/IPO.h @@ -11,6 +11,13 @@ 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. -- 2.34.1