diff --git a/llvm/docs/CommandGuide/llvm-objcopy.rst b/llvm/docs/CommandGuide/llvm-objcopy.rst --- a/llvm/docs/CommandGuide/llvm-objcopy.rst +++ b/llvm/docs/CommandGuide/llvm-objcopy.rst @@ -123,7 +123,7 @@ .. option:: --strip-unneeded Remove from the output all local or undefined symbols that are not required by - relocations. + relocations. Also remove all debug sections. .. option:: --version, -V diff --git a/llvm/docs/CommandGuide/llvm-strip.rst b/llvm/docs/CommandGuide/llvm-strip.rst --- a/llvm/docs/CommandGuide/llvm-strip.rst +++ b/llvm/docs/CommandGuide/llvm-strip.rst @@ -97,7 +97,8 @@ .. option:: --strip-unneeded - Remove all local or undefined symbols that are not required by relocations. + Remove from the output all local or undefined symbols that are not required by + relocations. Also remove all debug sections. .. option:: --version, -V