[PATCH] ignore -mconstructor-aliases when adding field paddings for asan

Kostya Serebryany kcc at google.com
Thu Oct 30 13:26:19 PDT 2014


Hi rsmith,

When we are adding field paddings for asan even an empty dtor has to remain in the code,
so we ignore -mconstructor-aliases if the paddings are going to be added.

http://reviews.llvm.org/D6038

Files:
  lib/CodeGen/CGCXX.cpp
  test/CodeGen/sanitize-address-field-padding.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6038.15577.patch
Type: text/x-patch
Size: 2558 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141030/d280cdd9/attachment.bin>


More information about the cfe-commits mailing list