aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xemcc3
1 files changed, 2 insertions, 1 deletions
diff --git a/emcc b/emcc
index 9dde800e..5dcd7b8c 100755
--- a/emcc
+++ b/emcc
@@ -123,8 +123,9 @@ Options that are modified or new in %s include:
--typed-arrays <mode> 0: No typed arrays
1: Parallel typed arrays
2: Shared (C-like) typed arrays (default)
- --llvm-opts <level> 0: No LLVM optimizations (default)
+ --llvm-opts <level> 0: No LLVM optimizations (default in -O0)
1: Safe/portable LLVM optimizations
+ (default in -O1 and above)
2: Full, unsafe/unportable LLVM optimizations;
this will almost certainly break the
generated code!