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
cat test.c
#include <stdio.h> __attribute__((speculative_load_hardening)) int main() { unsigned char arr[] = {1,2,3,4,5,6}; for (char i = 0;i < 6;i++) printf("%d", arr[i]); printf("\n"); return 0; }
$ clang -O0 -lpthread t2.c -o 15 $ ./15
No output is printed. Actually, 123456 should be printed.
Note: My machine is aarch64.
Note
The text was updated successfully, but these errors were encountered:
Clang 12 doesn't have this problem.
Sorry, something went wrong.
Fixed in https://reviews.llvm.org/D150527
f4ba1db
@llvm/issue-subscribers-backend-aarch64
No branches or pull requests
cat test.c
No output is printed. Actually, 123456 should be printed.
Note
: My machine is aarch64.The text was updated successfully, but these errors were encountered: