[PATCH] D22123: Fix LTO document
Piotr Padlewski via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 7 17:34:55 PDT 2016
Prazek added inline comments.
================
Comment at: docs/LinkTimeOptimization.rst:92
@@ -91,3 +91,3 @@
% clang -c main.c -o main.o # <-- main.o is native object file
- % clang a.o main.o -o main # <-- standard link command without modifications
+ % clang -flto a.o main.o -o main # <-- standard link command with -flto
----------------
mehdi_amini wrote:
> Note: this is a no-op on OS X for instance, but it does not hurt either.
>
but on linux it doesn't work without it (at least on my setup)
Repository:
rL LLVM
http://reviews.llvm.org/D22123
More information about the llvm-commits
mailing list