diff options
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/docs/OptBisect.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/docs/OptBisect.rst b/llvm/docs/OptBisect.rst index a9ac227a2af..14eb57bc7d5 100644 --- a/llvm/docs/OptBisect.rst +++ b/llvm/docs/OptBisect.rst @@ -65,10 +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) + # When using lld, or ld64 (macOS) 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 passes run in the primary driver compilation phase are not affected by options |

