Index: lld/ELF/Options.td =================================================================== --- lld/ELF/Options.td +++ lld/ELF/Options.td @@ -381,7 +381,7 @@ def start_lib: F<"start-lib">, HelpText<"Start a grouping of objects that should be treated as if they were together in an archive">; -def strip_all: F<"strip-all">, HelpText<"Strip all symbols">; +def strip_all: F<"strip-all">, HelpText<"Strip all symbols. Implies --strip-debug">; def strip_debug: F<"strip-debug">, HelpText<"Strip debugging information">; Index: lld/docs/ld.lld.1 =================================================================== --- lld/docs/ld.lld.1 +++ lld/docs/ld.lld.1 @@ -502,7 +502,8 @@ Start a grouping of objects that should be treated as if they were together in an archive. .It Fl -strip-all , Fl s -Strip all symbols. +Strip all symbols. Implies +.Fl -strip-debug . .It Fl -strip-debug , Fl S Strip debugging information. .It Fl -symbol-ordering-file Ns = Ns Ar file