[PATCH] Insert poisoned paddings between fields in C++ classes.

Kostya Serebryany kcc at google.com
Thu Oct 16 13:24:47 PDT 2014


Addressed last two Richard's comments.
Added a test for an extern "C" class.

http://reviews.llvm.org/D5687

Files:
  include/clang/AST/Decl.h
  include/clang/Basic/DiagnosticFrontendKinds.td
  include/clang/Basic/DiagnosticGroups.td
  include/clang/Basic/SanitizerBlacklist.h
  lib/AST/Decl.cpp
  lib/AST/RecordLayoutBuilder.cpp
  lib/Basic/SanitizerBlacklist.cpp
  lib/CodeGen/CGClass.cpp
  lib/CodeGen/CodeGenFunction.h
  test/CodeGen/sanitize-address-field-padding.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5687.15041.patch
Type: text/x-patch
Size: 18738 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141016/ec986f42/attachment.bin>


More information about the cfe-commits mailing list