Suggestion [DISCARD-ALL 1/2]: can we spell out the full flag for this as well? llvm-objcopy docs say that -x is
--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.
This happens to align with llvm-strip, unlike -S or no-flag.
Originally posted by @jieyouxu in #135034 (comment)
Originally posted by @jieyouxu in #135034 (comment)