Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Side by Side Diff: include/llvm/Transforms/NaCl.h

Issue 24777002: Add PNaClSjLjEH pass to implement C++ exception handling using setjmp()+longjmp() (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Retry upload Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « include/llvm/InitializePasses.h ('k') | lib/Transforms/NaCl/CMakeLists.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===-- NaCl.h - NaCl Transformations ---------------------------*- C++ -*-===// 1 //===-- NaCl.h - NaCl Transformations ---------------------------*- C++ -*-===//
2 // 2 //
3 // The LLVM Compiler Infrastructure 3 // The LLVM Compiler Infrastructure
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 9
10 #ifndef LLVM_TRANSFORMS_NACL_H 10 #ifndef LLVM_TRANSFORMS_NACL_H
(...skipping 23 matching lines...) Expand all
34 ModulePass *createCanonicalizeMemIntrinsicsPass(); 34 ModulePass *createCanonicalizeMemIntrinsicsPass();
35 ModulePass *createExpandArithWithOverflowPass(); 35 ModulePass *createExpandArithWithOverflowPass();
36 ModulePass *createExpandByValPass(); 36 ModulePass *createExpandByValPass();
37 ModulePass *createExpandCtorsPass(); 37 ModulePass *createExpandCtorsPass();
38 ModulePass *createExpandSmallArgumentsPass(); 38 ModulePass *createExpandSmallArgumentsPass();
39 ModulePass *createExpandTlsConstantExprPass(); 39 ModulePass *createExpandTlsConstantExprPass();
40 ModulePass *createExpandTlsPass(); 40 ModulePass *createExpandTlsPass();
41 ModulePass *createExpandVarArgsPass(); 41 ModulePass *createExpandVarArgsPass();
42 ModulePass *createFlattenGlobalsPass(); 42 ModulePass *createFlattenGlobalsPass();
43 ModulePass *createGlobalCleanupPass(); 43 ModulePass *createGlobalCleanupPass();
44 ModulePass *createPNaClSjLjEHPass();
44 ModulePass *createReplacePtrsWithIntsPass(); 45 ModulePass *createReplacePtrsWithIntsPass();
45 ModulePass *createResolveAliasesPass(); 46 ModulePass *createResolveAliasesPass();
46 ModulePass *createRewriteAtomicsPass(); 47 ModulePass *createRewriteAtomicsPass();
47 ModulePass *createRewriteLLVMIntrinsicsPass(); 48 ModulePass *createRewriteLLVMIntrinsicsPass();
48 ModulePass *createRewritePNaClLibraryCallsPass(); 49 ModulePass *createRewritePNaClLibraryCallsPass();
49 ModulePass *createStripAttributesPass(); 50 ModulePass *createStripAttributesPass();
50 ModulePass *createStripMetadataPass(); 51 ModulePass *createStripMetadataPass();
51 52
52 void PNaClABISimplifyAddPreOptPasses(PassManager &PM); 53 void PNaClABISimplifyAddPreOptPasses(PassManager &PM);
53 void PNaClABISimplifyAddPostOptPasses(PassManager &PM); 54 void PNaClABISimplifyAddPostOptPasses(PassManager &PM);
(...skipping 15 matching lines...) Expand all
69 // In order to change a function's type, the function must be 70 // In order to change a function's type, the function must be
70 // recreated. RecreateFunction() recreates Func with type NewType. 71 // recreated. RecreateFunction() recreates Func with type NewType.
71 // It copies or moves across everything except the argument values, 72 // It copies or moves across everything except the argument values,
72 // which the caller must update because the argument types might be 73 // which the caller must update because the argument types might be
73 // different. 74 // different.
74 Function *RecreateFunction(Function *Func, FunctionType *NewType); 75 Function *RecreateFunction(Function *Func, FunctionType *NewType);
75 76
76 } 77 }
77 78
78 #endif 79 #endif
OLDNEW
« no previous file with comments | « include/llvm/InitializePasses.h ('k') | lib/Transforms/NaCl/CMakeLists.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698