[llvm-bugs] [Bug 34213] - -fsanitize=undefined doesn't pay attention to __builtin_assume_aligned()
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Aug 16 15:23:15 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=34213
Richard Smith <richard-llvm at metafoo.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED
CC| |richard-llvm at metafoo.co.uk
--- Comment #2 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Right, __builtin_assume_aligned means "assume that this pointer has a certain
alignment in addition to everything else you know", or put another way, "assume
the bottom N bits of this pointer are zeroes". It does not remove or override
any alignment information that comes from elsewhere.
--
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/20170816/bf8ebb7a/attachment.html>
More information about the llvm-bugs
mailing list