Skip to content

cleanup: use full strip cli args in cg_ssa #135038

Open
@jieyouxu

Description

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    C-cleanupCategory: PRs that clean code up or issues documenting cleanup.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions