diff options
Diffstat (limited to 'llvm/docs/CommandGuide')
-rw-r--r-- | llvm/docs/CommandGuide/llvm-strip.rst | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/llvm/docs/CommandGuide/llvm-strip.rst b/llvm/docs/CommandGuide/llvm-strip.rst index b077799..b4d6dc0 100644 --- a/llvm/docs/CommandGuide/llvm-strip.rst +++ b/llvm/docs/CommandGuide/llvm-strip.rst @@ -37,9 +37,10 @@ multiple file formats. .. option:: --discard-all, -x - Remove most local symbols from the output. Different file formats may limit - this to a subset of the local symbols. For example, file and section symbols in - ELF objects will not be discarded. Additionally, remove all debug sections. + Remove most local symbols not referenced by relocations from the output. + Different file formats may limit this to a subset of the local symbols. For + example, file and section symbols in ELF objects will not be discarded. + Additionally, remove all debug sections. .. option:: --enable-deterministic-archives, -D @@ -152,7 +153,7 @@ them. .. option:: --discard-locals, -X - Remove local symbols starting with ".L" from the output. + Remove local symbols starting with ".L" not referenced by relocations from the output. .. option:: --keep-file-symbols |