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

Side by Side Diff: tools/opt/opt.cpp

Issue 29743003: Add passes for applying SFI sandboxing at the LLVM IR level Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Retry upload Created 6 years, 5 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 | « test/Transforms/NaCl/strip-tls.ll ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- opt.cpp - The LLVM Modular Optimizer -------------------------------===// 1 //===- opt.cpp - The LLVM Modular Optimizer -------------------------------===//
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 // Optimizations may be specified an arbitrary number of times on the command 10 // Optimizations may be specified an arbitrary number of times on the command
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after
619 initializeObjCARCOpts(Registry); 619 initializeObjCARCOpts(Registry);
620 initializeVectorization(Registry); 620 initializeVectorization(Registry);
621 initializeIPO(Registry); 621 initializeIPO(Registry);
622 initializeAnalysis(Registry); 622 initializeAnalysis(Registry);
623 initializeIPA(Registry); 623 initializeIPA(Registry);
624 initializeTransformUtils(Registry); 624 initializeTransformUtils(Registry);
625 initializeInstCombine(Registry); 625 initializeInstCombine(Registry);
626 initializeInstrumentation(Registry); 626 initializeInstrumentation(Registry);
627 initializeTarget(Registry); 627 initializeTarget(Registry);
628 // @LOCALMOD-BEGIN 628 // @LOCALMOD-BEGIN
629 initializeExpandAllocasPass(Registry);
630 initializeAllocateDataSegmentPass(Registry);
631 initializeSandboxIndirectCallsPass(Registry);
632 initializeSandboxMemoryAccessesPass(Registry);
633 initializeStripTlsPass(Registry);
629 initializeAddPNaClExternalDeclsPass(Registry); 634 initializeAddPNaClExternalDeclsPass(Registry);
630 initializeCanonicalizeMemIntrinsicsPass(Registry); 635 initializeCanonicalizeMemIntrinsicsPass(Registry);
631 initializeCombineVectorInstructionsPass(Registry); 636 initializeCombineVectorInstructionsPass(Registry);
632 initializeConstantInsertExtractElementIndexPass(Registry); 637 initializeConstantInsertExtractElementIndexPass(Registry);
633 initializeExpandArithWithOverflowPass(Registry); 638 initializeExpandArithWithOverflowPass(Registry);
634 initializeExpandByValPass(Registry); 639 initializeExpandByValPass(Registry);
635 initializeExpandConstantExprPass(Registry); 640 initializeExpandConstantExprPass(Registry);
636 initializeExpandCtorsPass(Registry); 641 initializeExpandCtorsPass(Registry);
637 initializeExpandGetElementPtrPass(Registry); 642 initializeExpandGetElementPtrPass(Registry);
638 initializeExpandIndirectBrPass(Registry); 643 initializeExpandIndirectBrPass(Registry);
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
948 } 953 }
949 } 954 }
950 // @LOCALMOD-END 955 // @LOCALMOD-END
951 956
952 // Declare success. 957 // Declare success.
953 if (!NoOutput || PrintBreakpoints) 958 if (!NoOutput || PrintBreakpoints)
954 Out->keep(); 959 Out->keep();
955 960
956 return 0; 961 return 0;
957 } 962 }
OLDNEW
« no previous file with comments | « test/Transforms/NaCl/strip-tls.ll ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698