Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • L llvm-project
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 36
    • Issues 36
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 21
    • Merge requests 21
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Morello
  • llvm-project
  • Merge requests
  • !204

[Morello] Prototype passing all memory arguments through C9

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Silviu Baranga requested to merge pcs into morello/dev Sep 14, 2022
  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 6

This prototypes https://github.com/ARM-software/abi-aa/issues/158

This currently doesn't support a large number of arguments, where padding still needs to be added.

Some notable changes:

  • The va_list is made read-only in the callee to enable writes to the memory pointed by C9.
  • C9 is set to NULL in the caller if the callee is variadic and we don't have any arguments passed through memory.

This behavior can be enabled in clang by passing -Xclang -morello-bounded-memargs.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: pcs