diff options
| author | Feng Zou <feng.zou@intel.com> | 2025-06-13 06:45:28 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-13 06:45:28 +0800 |
| commit | 703e4460228fa5893dd0dff514ce44442b310b5e (patch) | |
| tree | 81fa2c3a97bcc303efdc674ec0d6e4e0f39897b9 /libc/src/string | |
| parent | 2b8f82b8308fc9df0a74cdd61a1257d9eb51189c (diff) | |
[Clang] Add check for -mstack-alignment (#143124)
Currently the assertion in Alignment.h is triggered if a wrong value is
passed -mstack-alignment option:
```
Assertion `(Value == 0 || llvm::isPowerOf2_64(Value)) && "Alignment is neither 0 nor
a power of 2"' failed.
```
Added check in clang driver for the value of -mstack-alignment option,
and emitted an error message when the wrong value was passed.
Diffstat (limited to 'libc/src/string')
0 files changed, 0 insertions, 0 deletions
