[PATCH] D10990: Fix for clang memcpyizer bugs 23911 and 23924

Denis Zobnin d.zobnin.bugzilla at gmail.com
Tue Jul 7 05:05:30 PDT 2015


d.zobnin.bugzilla added reviewers: rsmith, rjmccall.
d.zobnin.bugzilla added a subscriber: cfe-commits.

The fix is to remove duplicate copy-initialization of the only memcpy-able struct member and to correct the address of aggregately initialized members in destructors' calls during stack unwinding (in order to obtain address of struct member by using GEP instead of 'bitcast').

Repository:
  rL LLVM

http://reviews.llvm.org/D10990

Files:
  lib/CodeGen/CGClass.cpp
  test/CodeGen/eh-aggregated-inits-unwind.cpp
  test/CodeGen/eh-aggregated-inits.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10990.29161.patch
Type: text/x-patch
Size: 4567 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150707/86768afc/attachment.bin>


More information about the cfe-commits mailing list