[llvm] [docs][NFC] Add usage instructions for FatLTO (PR #75853)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 18 14:01:56 PST 2023
================
@@ -76,3 +76,40 @@ Supported File Formats
The current implementation only supports ELF files. At time of writing, it is
unclear if it will be useful to support other object file formats like ``COFF``
or ``Mach-O``.
+
+Usage
+===========
+
+Users are expected to pass ``-ffat-lto-objects`` to clang in addition to one of
----------------
MaskRay wrote:
Clang users can specify `-ffat-lto-objects` along with `-flto` or `-flto=thin`. Without the ``-flto`` flag, ``-ffat-lto-objects`` has no effect.
https://github.com/llvm/llvm-project/pull/75853
More information about the llvm-commits
mailing list