Vedant Kumar 116aebcae0 [ubsan] Don't check alignment if the alignment is 1
If a pointer is 1-byte aligned, there's no use in checking its
alignment. Somewhat surprisingly, ubsan can spend a significant amount
of time doing just that!

This loosely depends on D30283.

Testing: check-clang, check-ubsan, and a stage2 ubsan build.

Differential Revision: https://reviews.llvm.org/D30285

llvm-svn: 300371
2017-04-14 22:03:37 +00:00
2017-02-25 02:46:53 +00:00
2017-04-14 18:38:38 +00:00
2017-04-14 13:39:40 +00:00
S
Description
No description provided
887 MiB
Languages
C++ 46.8%
LLVM 31.2%
C 10.7%
Assembly 7.2%
Python 1.4%
Other 2.3%