[lld] 6faf8bd - Update the man page

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 12 22:16:13 PST 2019


Author: Rui Ueyama
Date: 2019-12-13T15:15:00+09:00
New Revision: 6faf8bdcc469fc75bc5c9d09a6bd92c1a0c381d0

URL: https://github.com/llvm/llvm-project/commit/6faf8bdcc469fc75bc5c9d09a6bd92c1a0c381d0
DIFF: https://github.com/llvm/llvm-project/commit/6faf8bdcc469fc75bc5c9d09a6bd92c1a0c381d0.diff

LOG: Update the man page

Add a description about the compression level of the debug info.

Differential Revision: https://reviews.llvm.org/D71385

Added: 
    

Modified: 
    lld/docs/ld.lld.1

Removed: 
    


################################################################################
diff  --git a/lld/docs/ld.lld.1 b/lld/docs/ld.lld.1
index 7769cd03d503..1282bcfd28e2 100644
--- a/lld/docs/ld.lld.1
+++ b/lld/docs/ld.lld.1
@@ -123,6 +123,11 @@ may be
 .Cm none
 or
 .Cm zlib .
+The default compression level is 1 (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
@@ -330,7 +335,9 @@ Disable string merging.
 .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 1.
 .El
 .Pp
 .Fl O Ns Cm 1


        


More information about the llvm-commits mailing list