From 6f532b72c85e38880cf7953098bb91e8f3feb696 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Thu, 10 Dec 2020 14:16:45 -0800 Subject: Add support for LLVM's thinLTO This uses a separate option, b_lto_mode. It works in conjunction with b_lto_threads. Fixes #7493 --- docs/markdown/snippets/lto_mode.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 docs/markdown/snippets/lto_mode.md (limited to 'docs/markdown/snippets') diff --git a/docs/markdown/snippets/lto_mode.md b/docs/markdown/snippets/lto_mode.md new file mode 100644 index 0000000..c1df066 --- /dev/null +++ b/docs/markdown/snippets/lto_mode.md @@ -0,0 +1,5 @@ +## Support added for LLVM's thinLTO + +A new `b_lto_mode` option has been added, which may be set to `default` or +`thin`. Thin only works for clang, and only with gnu gold, lld variants, or +ld64. -- cgit v1.1