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

nonLockingLinux__execve: Use register for ARM asm(reg) vars #3275

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Commits on Sep 5, 2024

  1. nonLockingLinux__execve: Use register for ARM asm(reg) vars

    Fixes broken build with `clang -Werror` on ARM.
    
    Variables assigned to a register with `asm()` (like `asm("x0")`) should be `register` not automatic. 
    
    https://gcc.gnu.org/onlinedocs/gcc/Local-Register-Variables.html
    
    clang emits a warning for this, which will turn into an error with `-Werror`. gcc emits no warning/error.
    
    https://godbolt.org/z/4zE94szzo
    jmr committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    4f6d6d9 View commit details
    Browse the repository at this point in the history