diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-11-21 16:57:13 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-11-21 16:57:13 -0800 |
commit | 902015756b37260b51e6da6a7c9ae67e96a55b52 (patch) | |
tree | 86800606d0d32ec44960802e0ca54ad2e29e9540 /lib/Transforms | |
parent | b2fea7f30dba545a6eadf0ae108cf7cd4825c097 (diff) |
do not expand tls
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/NaCl/PNaClABISimplify.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Transforms/NaCl/PNaClABISimplify.cpp b/lib/Transforms/NaCl/PNaClABISimplify.cpp index b9c66b6806..d20a176468 100644 --- a/lib/Transforms/NaCl/PNaClABISimplify.cpp +++ b/lib/Transforms/NaCl/PNaClABISimplify.cpp @@ -65,7 +65,9 @@ void llvm::PNaClABISimplifyAddPreOptPasses(PassManager &PM) { PM.add(createExpandVarArgsPass()); PM.add(createExpandCtorsPass()); PM.add(createResolveAliasesPass()); +#if 0 // EMSCRIPTEN: no need for tls PM.add(createExpandTlsPass()); +#endif // GlobalCleanup needs to run after ExpandTls because // __tls_template_start etc. are extern_weak before expansion PM.add(createGlobalCleanupPass()); |