We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The code is pretty big as I haven't spent enough time reducing it. But the repro test case can be found here:
https://godbolt.org/z/WafcG8G95
$ clang++ -std=c++20 -target armv7-unknown-linux -fsanitize=address -mllvm -asan-use-stack-safety=0
The text was updated successfully, but these errors were encountered:
Related discussion in android/ndk#2030
Sorry, something went wrong.
@llvm/issue-subscribers-backend-arm
Author: None (appujee)
Reduced down to this, which gives the same error with -asan-use-stack-safety=0 and -asan-use-stack-safety=1:
-asan-use-stack-safety=0
-asan-use-stack-safety=1
template <class b> b *addressof(b &); void bc() { _Atomic(long long) bd; __c11_atomic_store(addressof(bd), 0, 0); } void m_fn2(long long p1) { bc(); }
$ /work/llvm/build/bin/clang -std=c++20 -target armv7-unknown-linux -fsanitize=address -c out-of-regs.cpp clang: warning: unknown platform, assuming -mfloat-abi=soft clang: warning: unknown platform, assuming -mfloat-abi=soft clang: warning: unknown platform, assuming -mfloat-abi=soft error: ran out of registers during register allocation 1 error generated.
ostannard
Successfully merging a pull request may close this issue.
The code is pretty big as I haven't spent enough time reducing it. But the repro test case can be found here:
https://godbolt.org/z/WafcG8G95
$ clang++ -std=c++20 -target armv7-unknown-linux -fsanitize=address -mllvm -asan-use-stack-safety=0
The text was updated successfully, but these errors were encountered: