mirror of
https://github.com/RPCSX/llvm.git
synced 2025-04-12 21:18:23 +00:00
Fix doc for -opt-bisect-limit
: the LTO option prefix for lld is -mllvm
Thanks Davide to catch it in my previous patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294759 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d3cc1f35e3
commit
00b42cc2f1
@ -65,10 +65,10 @@ following syntax will set a bisect limit for LTO transformations:
|
|||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
# When using Gold or lld
|
# When using lld, or ld64 (macOS)
|
||||||
clang -flto -Wl,-plugin-opt,-opt-bisect-limit=256 my_file.o my_other_file.o
|
|
||||||
# When using ld64 (macOS)
|
|
||||||
clang -flto -Wl,-mllvm,-opt-bisect-limit=256 my_file.o my_other_file.o
|
clang -flto -Wl,-mllvm,-opt-bisect-limit=256 my_file.o my_other_file.o
|
||||||
|
# When using Gold
|
||||||
|
clang -flto -Wl,-plugin-opt,-opt-bisect-limit=256 my_file.o my_other_file.o
|
||||||
|
|
||||||
LTO passes are run by a library instance invoked by the linker. Therefore any
|
LTO passes are run by a library instance invoked by the linker. Therefore any
|
||||||
passes run in the primary driver compilation phase are not affected by options
|
passes run in the primary driver compilation phase are not affected by options
|
||||||
|
Loading…
x
Reference in New Issue
Block a user