From 370910d2a0655056ccad108c2cd7490c7fe04650 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 15 Sep 2003 05:05:23 +0000 Subject: 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(+) (limited to 'include') diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h index 4f0809a..0da6530 100644 --- a/include/llvm/Transforms/IPO.h +++ b/include/llvm/Transforms/IPO.h @@ -12,6 +12,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. // This is useful because some passes (ie TraceValues) insert a lot of string -- cgit v1.1