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

C-cmse-nonsecure-call: improved error messages #127814

Merged
merged 11 commits into from
Jul 19, 2024

Commits on Jul 16, 2024

  1. add rust error message for CMSE stack spill

    when the `C-cmse-nonsecure-call` ABI is used, arguments and return values must be passed via registers. Failing to do so (i.e. spilling to the stack) causes an LLVM error down the line, but now rustc will properly emit an error a bit earlier in the chain
    folkertdev committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    50ba821 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1e86064 View commit details
    Browse the repository at this point in the history
  3. make function pub in error_codes markdown file

    the error is only generated for functions that are actually codegen'd
    folkertdev committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    36d2371 View commit details
    Browse the repository at this point in the history
  4. move cmse ABI validation into its own module

    Co-authored-by: Tamme Dittrich <[email protected]>
    folkertdev and tdittr committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    c7ff46c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1a79606 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    09b620d View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. Configuration menu
    Copy the full SHA
    5f0f690 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8a3dd7f View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2024

  1. Configuration menu
    Copy the full SHA
    7b63734 View commit details
    Browse the repository at this point in the history
  2. remove cmse validation from rustc_codegen_ssa

    it was moved to hir_analysis in the previous commit
    folkertdev committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    6b6b842 View commit details
    Browse the repository at this point in the history
  3. improve error reporting

    folkertdev committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    c2894a4 View commit details
    Browse the repository at this point in the history