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

Unified 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, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/Transforms/NaCl/strip-tls.ll ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/opt/opt.cpp
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp
index e215d4daec9ee7a1a612f3d7e5b4e3e4fcf8349c..9675bdaf712a06fd89373b042f2238b18eb2d6f8 100644
--- a/tools/opt/opt.cpp
+++ b/tools/opt/opt.cpp
@@ -626,6 +626,11 @@ int main(int argc, char **argv) {
initializeInstrumentation(Registry);
initializeTarget(Registry);
// @LOCALMOD-BEGIN
+ initializeExpandAllocasPass(Registry);
+ initializeAllocateDataSegmentPass(Registry);
+ initializeSandboxIndirectCallsPass(Registry);
+ initializeSandboxMemoryAccessesPass(Registry);
+ initializeStripTlsPass(Registry);
initializeAddPNaClExternalDeclsPass(Registry);
initializeCanonicalizeMemIntrinsicsPass(Registry);
initializeCombineVectorInstructionsPass(Registry);
« 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