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

Enable AVR as a Tier 3 target upstream #69478

Merged
merged 9 commits into from
Jun 12, 2020

Commits on Jun 9, 2020

  1. [AVR] Add AVR platform support

    shepmaster authored and dylanmckay committed Jun 9, 2020
    Configuration menu
    Copy the full SHA
    690bb8a View commit details
    Browse the repository at this point in the history
  2. [AVR] Fix debug printing of function pointers

    This commit fixes debug printing of function pointers on AVR. AVR does
    not support `addrspacecast` instructions, and so this patch modifies
    libcore so that a `ptrtoint` IR instruction is used and the address
    space cast is avoided.
    dylanmckay committed Jun 9, 2020
    Configuration menu
    Copy the full SHA
    91bff8c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    13edc57 View commit details
    Browse the repository at this point in the history
  4. [AVR] Raise and link to a tracking issue for the avr-interrupt call…

    …ing convention
    
    Also fix the order of the feature gate to fix the tidy errors.
    dylanmckay committed Jun 9, 2020
    Configuration menu
    Copy the full SHA
    edc344e View commit details
    Browse the repository at this point in the history
  5. [AVR] Re-bless the UI tests

    Patch generated with `./x.py test --stage 1 src/test/ui/feature-gates --bless`.
    dylanmckay committed Jun 9, 2020
    Configuration menu
    Copy the full SHA
    e369cf6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b4a041c View commit details
    Browse the repository at this point in the history
  7. [AVR] Remove AVR-specific logic from libstd

    It is not possible to compile libstd for AVR anyway.
    dylanmckay committed Jun 9, 2020
    Configuration menu
    Copy the full SHA
    8ba9cbd View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1f0652f View commit details
    Browse the repository at this point in the history
  9. [AVR] Update ABI type classification logic to match the the AVR-Clang…

    … ABI
    
    This patch brings the AVR calling convention argument classification
    logic in line with AVR Clang's behaviour.
    
    AVR-Clang currently uses the `clang::DefaultABIInfo` ABI implementation.
    This calling convention promotes all aggregates to indirect, no matter their
    size.
    
    It is also unnecessary to perform any integer width extension for AVR as
    the minimum argument size matches the minimum describable size of
    abi::Primitive::Int - 8 bits.
    
    At some point in the future, an AVR-GCC compatible argument
    classification implementation should be adopted in both Clang and Rust.
    dylanmckay committed Jun 9, 2020
    Configuration menu
    Copy the full SHA
    0340359 View commit details
    Browse the repository at this point in the history