llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

Help text for --strip-all is confusing

Open bd1976bris opened this issue 5 years ago • 2 comments

Bugzilla Link 50264
Resolution FIXED
Resolved on May 07, 2021 08:44
Version 12.0
OS All
CC @MaskRay,@smithp35,@tstellar
Fixed by commit(s) 5dd9f44c17ec0d8b6b88bb015560b3c566622fdc

Extended Description

The current help text for --strip-all is "Strip all symbols". However, the option also removes debug sections.

We should enhance the help text to mention the effect on debug sections.

bd1976bris avatar May 07 '21 15:05 bd1976bris

Can this fix be put onto the release branch for llvm12?

bd1976bris avatar May 07 '21 15:05 bd1976bris

fixed on branch main by: https://github.com/llvm/llvm-project/commit/5dd9f44c17ec0d8b6b88bb015560b3c566622fdc

See: https://reviews.llvm.org/D101890

bd1976bris avatar May 07 '21 15:05 bd1976bris