diff --git a/lld/docs/ld.lld.1 b/lld/docs/ld.lld.1 --- a/lld/docs/ld.lld.1 +++ b/lld/docs/ld.lld.1 @@ -123,6 +123,11 @@ .Cm none or .Cm zlib . +The default compression level is 0 (fastest) as the debug info usually +compresses well at that level, but if you want to compress it more, +you can specify +.Fl O2 +to set the compression level to 6. .It Fl -cref Output cross reference table. .It Fl -define-common , Fl d @@ -332,7 +337,9 @@ .It Cm 1 Enable string merging. .It Cm 2 -Enable string tail merging. +Enable string tail merging. If +.Fl -compress-debug-sections +is given, compress debug sections at compression level 6 instead of 0. .El .Pp .Fl O Ns Cm 1