[PATCH] Replace a destructor of EHCleanupScope with a Destroy() method to reflect the current usage.

Kostya Serebryany kcc at google.com
Tue Oct 7 17:50:07 PDT 2014


Hi rnk,

The current code uses memset to re-initialize EHCleanupScope objects
with breaks the assumptions of the upcoming asan's intra-object-overflow checker.
If there is no DTOR, the new checker will refuse to work.

http://reviews.llvm.org/D5656

Files:
  lib/CodeGen/CGCleanup.cpp
  lib/CodeGen/CGCleanup.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5656.14541.patch
Type: text/x-patch
Size: 973 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141008/c90331e8/attachment.bin>


More information about the cfe-commits mailing list