Skip to content

Support per-function alignment information #164

@RyanGlScott

Description

@RyanGlScott

The LLVM Language Reference specifies that a function definition can have an explicit alignment ([align N]), but llvm-pretty's Define data type does not have any place to store explicit alignment information. We should do so and update llvm-pretty-bc-parser to parse it accordingly. See here for the corresponding code in LLVM that parses explicit function alignment—it uses field 5, which llvm-pretty-bc-parser currently ignores.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions