diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-10-17 15:51:41 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-10-17 15:51:41 -0700 |
commit | a78aea9e75e2a600fe7a530b950e4c6f40d3bd19 (patch) | |
tree | 9cdfdba26e35e961724d331d2e88350b5e2e9bcb | |
parent | 6d686fa81e80f096d273e7a710d8afbb4710ba23 (diff) |
document the ability to pass arbitrary llvm opt args to --llvm-opts
-rwxr-xr-x | emcc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -240,6 +240,10 @@ Options that are modified or new in %s include: 2: -O2 LLVM optimizations 3: -O3 LLVM optimizations (default in -O2+) + You can also specify arbitrary LLVM options, e.g. + + --llvm-opts "['-O3', '-somethingelse']" + --llvm-lto <level> 0: No LLVM LTO (default) 1: LLVM LTO is performed 2: We combine all the bitcode and run LLVM opt -O3 |