diff options
author | Mark Seaborn <mseaborn@chromium.org> | 2013-05-24 17:05:15 -0700 |
---|---|---|
committer | Mark Seaborn <mseaborn@chromium.org> | 2013-05-24 17:05:15 -0700 |
commit | 33f698a2d1a30e31fb494922e3e6df8e643dc7b5 (patch) | |
tree | da30ffef663e43c2a5b82cc9f2bf8e06e81dba03 /lib/Transforms/NaCl/GlobalCleanup.cpp | |
parent | de078f629ea70df5987a28390c1d3a0da5c844d5 (diff) |
PNaCl: Add "-pnacl-abi-simplify-{pre,post}opt" meta-passes to "opt"
These meta-passes will be used to replace the pass lists that are
currently in the pnacl-ld.py driver script in the NaCl repo.
I've moved the comments across from pnacl-ld.py and added a couple
more comments for ExpandByVal and StripMetadata.
Fix the declaration of createResolveAliasesPass().
BUG=https://code.google.com/p/nativeclient/issues/detail?id=3435
TEST=new *.ll tests + tested with change to pnacl-ld.py
Review URL: https://codereview.chromium.org/15669002
Diffstat (limited to 'lib/Transforms/NaCl/GlobalCleanup.cpp')
-rw-r--r-- | lib/Transforms/NaCl/GlobalCleanup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/NaCl/GlobalCleanup.cpp b/lib/Transforms/NaCl/GlobalCleanup.cpp index 00e15b39a5..55886f8f7d 100644 --- a/lib/Transforms/NaCl/GlobalCleanup.cpp +++ b/lib/Transforms/NaCl/GlobalCleanup.cpp @@ -113,6 +113,6 @@ bool ResolveAliases::runOnModule(Module &M) { return Modified; } -ModulePass *createResolveAliasesPass() { +ModulePass *llvm::createResolveAliasesPass() { return new ResolveAliases(); } |