Fix doc for `-opt-bisect-limit`: the LTO option is linker specific

llvm-svn: 294725
This commit is contained in:
Mehdi Amini 2017-02-10 07:21:06 +00:00
parent b4442f34cd
commit a826244bb1
1 changed files with 4 additions and 1 deletions

View File

@ -65,7 +65,10 @@ following syntax will set a bisect limit for LTO transformations:
::
# When using Gold or lld
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
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