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

Unified Diff: tools/opt/opt.cpp

Issue 12481021: PNaCl: Add ExpandVarArgs pass for expanding out variable-args function calls (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Handle invokes (retry upload) Created 7 years, 9 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
Index: tools/opt/opt.cpp
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp
index 0f4bb48e180f4e70cc4783596a495302ee206013..17e77e9c84d605e40b9a193c5b72066ba3e713aa 100644
--- a/tools/opt/opt.cpp
+++ b/tools/opt/opt.cpp
@@ -579,6 +579,7 @@ int main(int argc, char **argv) {
initializeExpandCtorsPass(Registry);
initializeExpandTlsPass(Registry);
initializeExpandTlsConstantExprPass(Registry);
+ initializeExpandVarArgsPass(Registry);
cl::ParseCommandLineOptions(argc, argv,
"llvm .bc -> .bc modular optimizer and analysis printer\n");
« test/Transforms/NaCl/expand-varargs.ll ('K') | « test/Transforms/NaCl/expand-varargs.ll ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698