Skip to content

Commit fe3d9db

Browse files
authored
Mention that thin LTO is not full tested. See #15638 (#15664)
1 parent 62750c4 commit fe3d9db

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

site/source/docs/compiling/WebAssembly.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,9 @@ upgrade from fastcomp to upstream:
5555
compile and link time.
5656

5757
* You can enable Link Time Optimization (LTO) with the usual llvm flags
58-
(``-flto``, ``-flto=full``, ``-flto=thin``, at both compile and link times).
59-
These flags will make the wasm backend behave more like fastcomp.
58+
(``-flto``, ``-flto=full``, ``-flto=thin``, at both compile and link times;
59+
note, however, that thin LTO is not heavily tested atm and so regular LTO
60+
is recommended).
6061

6162
* With fastcomp, LTO optimization passes were not be run by default; for that
6263
it was necessry to pass ``--llvm-lto 1``. With the llvm backend LTO passes

0 commit comments

Comments
 (0)