Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add function ABI and type layout to StableMIR #119094

Merged
merged 2 commits into from
Dec 20, 2023
Merged

Commits on Dec 18, 2023

  1. Add function ABI and type layout to StableMIR

    This change introduces a new module to StableMIR named `abi` with
    information from `rustc_target::abi` and `rustc_abi`, that allow users
    to retrieve more low level information required to perform
    bit-precise analysis.
    
    The layout of a type can be retrieved via `Ty::layout`, and the instance
    ABI can be retrieved via `Instance::fn_abi()`.
    
    To properly handle errors while retrieve layout information, we had
    to implement a few layout related traits.
    celinval committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    1a83c5b View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2023

  1. Fix c_variadic flag and add opaque info to PassMode

    We should expand the information in PassMode later.
    celinval committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    76b3e6d View commit details
    Browse the repository at this point in the history