Improve description, add warning

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12570 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-03-31 21:59:07 +00:00
parent 83706a5a3a
commit 0c58897d1c

View File

@ -262,8 +262,12 @@ FunctionPass *createLowerSwitchPass();
FunctionPass *createLowerSelectPass(bool OnlyFP = false);
//===----------------------------------------------------------------------===//
// This pass converts 'invoke' instructions calls, and 'unwind' instructions
// into calls to abort().
// This pass converts invoke and unwind instructions to use sjlj exception
// handling mechanisms. Note that after this pass runs the CFG is not entirely
// accurate (exceptional control flow edges are not correct anymore) so only
// very simple things should be done after the lowerinvoke pass has run (like
// generation of native code). This should not be used as a general purpose "my
// LLVM-to-LLVM pass doesn't support the invoke instruction yet" lowering pass.
//
FunctionPass *createLowerInvokePass();
extern const PassInfo *LowerInvokePassID;