Skip to content

Fix how inline (absolute) jump tables are emitted in .s files #38

@rjkiv

Description

@rjkiv

When looking at a function with an inline/absolute jump table in an .s file, it splits out and is treated like a separate entity, rather than being baked into the function.

Image

However, if you don't mark it as a jump table, this happens:

Image

The jump table gets baked into the function, but it's being interpreted as instruction bytes instead of raw memory addresses, resulting in those wrong loads.

jeff needs to be tweaked in such a way that it can recognize that this is a jump table (and the entries are interpreted as addresses), but not create a distinct object for it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions