[llvm-bugs] [Bug 45813] New: Using __builtin_assume_aligned with alignment sanitizer leads to a crash in clang
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue May 5 20:32:23 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=45813
Bug ID: 45813
Summary: Using __builtin_assume_aligned with alignment
sanitizer leads to a crash in clang
Product: clang
Version: 9.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C
Assignee: unassignedclangbugs at nondot.org
Reporter: vlad.golovkin.mail at gmail.com
CC: blitzrakete at gmail.com, dgregor at apple.com,
erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
richard-llvm at metafoo.co.uk
Created attachment 23449
--> https://bugs.llvm.org/attachment.cgi?id=23449&action=edit
main.c
Trying to compile the following code in Ubuntu 18.04 with command clang-9
-fsanitize=alignment main.c leads to a crash:
int main(void)
{
__attribute__((aligned(16))) int data[4];
__builtin_assume_aligned(data, 16);
}
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200506/80424949/attachment.html>
More information about the llvm-bugs
mailing list