Skip to content

Actions: Write an even better bitcode collection action #43421

@woodruffw

Description

@woodruffw

We currently have EmbedBitcode, which injects -fembed-bitcode into each invocation. This works pretty well on targets like macOS (where -fembed-bitcode has well-defined bitcode merging behavior), but not as well on Linux (where is just mashes bitcode streams together, creating an unparseable blob).

We should add another action, one that's roughly on par with WLLVM or GLLVM in terms of being able to extract a combined bitcode module from a binary by walking backwards through a list of referenced intermediate files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C:actionsRelated to blight's supported actions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions