aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/NaCl/PNaClABISimplify.cpp
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-01-19 14:53:53 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-01-19 17:43:16 -0800
commite467883cf9af64d65b5aa13d02293a457ff08642 (patch)
tree12d14fedea0cc8f1eb9f3bc235ee7b7dc4020ab7 /lib/Transforms/NaCl/PNaClABISimplify.cpp
parent4d2357600922c8f50c5b742ca079e304d387706b (diff)
initial work on setjmp/longjmp for emscripten
Diffstat (limited to 'lib/Transforms/NaCl/PNaClABISimplify.cpp')
-rw-r--r--lib/Transforms/NaCl/PNaClABISimplify.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Transforms/NaCl/PNaClABISimplify.cpp b/lib/Transforms/NaCl/PNaClABISimplify.cpp
index ab88be133c..356c21e6e5 100644
--- a/lib/Transforms/NaCl/PNaClABISimplify.cpp
+++ b/lib/Transforms/NaCl/PNaClABISimplify.cpp
@@ -49,6 +49,8 @@ void llvm::PNaClABISimplifyAddPreOptPasses(PassManager &PM) {
PM.add(createCFGSimplificationPass());
}
+ //PM.add(createLowerEmSetjmpPass()); // XXX EMSCRIPTEN
+
#if 0 // EMSCRIPTEN: we allow arbitrary symbols to be preserved
// Internalize all symbols in the module except _start, which is the only
// symbol a stable PNaCl pexe is allowed to export.