Issue |
95359
|
Summary |
[ARM][clang] Add a warning for calling an __attribute__((interrupt)) function
|
Labels |
clang
|
Assignees |
|
Reporter |
chrisnc
|
#91870 fixes a warning that's existed for a while for bare-metal Arm targets which encourages calling interrupt handlers from other interrupt handlers. Doing this leads to unpredictable behavior and/or infinite loops due to how Arm exception returns are defined: https://github.com/llvm/llvm-project/pull/91870#issuecomment-2106045679. `clang` should warn when you try to do this.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs