[compiler-rt] [nsan] Use ALIGNED instead of alignas (NFC) (PR #98933)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 15 12:06:25 PDT 2024


MaskRay wrote:

OK, I see. The issue is that `SANITIZER_INTERFACE_ATTRIBUTE alignas(16)` is not supported by older Clang. Other `alignas(...)` uses are fine. The problem only affects nsan.

`alignas(16) SANITIZER_INTERFACE_ATTRIBUTE` seems to work, so adjust the order instead?



https://github.com/llvm/llvm-project/pull/98933


More information about the llvm-commits mailing list