[PATCH] D38574: [Sanitizers] ASan: detect new/delete calls with mismatched alignment.

Evgenii Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 23 15:07:24 PDT 2017


eugenis added a comment.

What exactly is "default alignment" and what happens if it is equal to 8?  Will it be treated as incompatible with 8? What happens if once source file is built with aligned-delete support, and the other - without (-std=c++14)?  Looks like new() from the former would not be compatible with delete() from the latter.


https://reviews.llvm.org/D38574





More information about the llvm-commits mailing list