diff options
author | Eli Bendersky <eliben@chromium.org> | 2013-05-14 10:43:34 -0700 |
---|---|---|
committer | Eli Bendersky <eliben@chromium.org> | 2013-05-14 10:43:34 -0700 |
commit | 4a71e626a34a257c1da0257cf580f26d12729b5d (patch) | |
tree | 44e8924210103e4c06dc252d7d24dbd8d533ca75 /tools | |
parent | 442f3114c0226f026a5f278becc6554eaa48209a (diff) |
Adding a pass - RewritePNaClLibraryCalls, that replaces known library calls with stable bitcode intrinsics.
Starting with setjmp and longjmp.
BUG=https://code.google.com/p/nativeclient/issues/detail?id=3429
R=jvoung@chromium.org, mseaborn@chromium.org
Review URL: https://codereview.chromium.org/14617017
Diffstat (limited to 'tools')
-rw-r--r-- | tools/opt/opt.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index c06da2dbee..15c3eac366 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -591,6 +591,7 @@ int main(int argc, char **argv) { initializePNaClABIVerifyModulePass(Registry); initializePromoteIntegersPass(Registry); initializeResolveAliasesPass(Registry); + initializeRewritePNaClLibraryCallsPass(Registry); initializeStripMetadataPass(Registry); // @LOCALMOD-END |