2ed7cb649aa709b875c519f4a980a1e2b5712370 |
|
14-Oct-2011 |
Eli Friedman <eli.friedman@gmail.com> |
PR11124: Don't overwrite memory outside of a base class when performing zero-initialization before running its constructor. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141933 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/value-init.cpp
|
c3c0766277cd64bf117450a1519c9cf762d994d4 |
|
13-Jul-2011 |
John McCall <rjmccall@apple.com> |
Convert the standard default-construction loops to use phis and partial destruction. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135033 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/value-init.cpp
|
bdc4d80956c83a486e58d3df6bb524a1f66ff574 |
|
09-Jul-2011 |
John McCall <rjmccall@apple.com> |
A number of array-related IR-gen cleanups. - Emit default-initialization of arrays that were partially initialized with initializer lists with a loop, rather than emitting the default initializer N times; - support destroying VLAs of non-trivial type, although this is not yet exposed to users; and - support the partial destruction of arrays initialized with initializer lists when an initializer throws an exception. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134784 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/value-init.cpp
|
657baf19ca8a48a926bd3bc148b6ad1b17e53199 |
|
29-Apr-2011 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
Cut down unnecessary zero'ing when value-initializing arrays of C++ objects. -C++ objects with user-declared constructor don't need zero'ing. -We can zero-initialize arrays of C++ objects in "bulk" now, in which case don't zero-initialize each object again. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130453 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/value-init.cpp
|
3b4d490b09347e0b68ec0511ddfae79dfaba77a6 |
|
28-Apr-2011 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
When value-initializing the elements of an array not not included in the initializer make sure that a non-trivial C++ constructor gets called. Fixes rdar://9347552 & http://llvm.org/PR9801 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130421 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/value-init.cpp
|
1741d7b3c88eda8891d30f5c920d55dfd54c62f0 |
|
17-Apr-2011 |
Anders Carlsson <andersca@mac.com> |
Cleanup tests, no functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129672 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/value-init.cpp
|
0691a5c83246604a89654e0dfc25870e742035b4 |
|
25-Jan-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Move unnamed_addr after the function arguments on Sabre's request. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124210 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/value-init.cpp
|
c5f657fe308f22243f674fc1dfbe24915944d8bf |
|
11-Jan-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add unnamed_addr to constructors and destructors. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123197 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/value-init.cpp
|
124b3def9ed99dc844225aeb6b17f789307500ee |
|
21-Dec-2010 |
Chris Lattner <sabre@nondot.org> |
add missing newlines at end of file. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122309 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/value-init.cpp
|
d1d56df188e25c633f9bc65d229897b42442b0f7 |
|
02-Dec-2010 |
Chris Lattner <sabre@nondot.org> |
fix PR8726 by teaching the aggregate init optimization code to handle structs with references in them correctly. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120722 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/value-init.cpp
|
8c3e554d00d456d5093c21ce8a0c205461279aab |
|
22-Aug-2010 |
Douglas Gregor <dgregor@apple.com> |
Preserve the zero-initialization and construction-kind settings when instantiating CXXConstructExpr expressions. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111780 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/value-init.cpp
|
759e41baf6a95c3a265970b6bf1c97c233fd28b0 |
|
22-Aug-2010 |
Douglas Gregor <dgregor@apple.com> |
When performing value-initialization for a class with a non-trivial, implicitly-defined default constructor, zero-initialize the memory before calling the default constructor. Previously, we would only zero-initialize in the case of a trivial default constructor. Also, simplify the hideous logic that determines when we have a trivial default constructor and, therefore, don't need to emit any call at all. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111779 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/value-init.cpp
|
452b7f22d75d1838df72653dcaacbf92b6c34e71 |
|
20-Aug-2010 |
Douglas Gregor <dgregor@apple.com> |
Fix a major regression with value-initialization of class types with trivial default constructors. We're weren't zero-initializing them, which manifested as <rdar://problem/8320532> (a regression in the GCC test suite) and is likely to have caused significant other breakage. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111650 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/value-init.cpp
|
9021718882441dd391a1960084580d3cd19c423a |
|
07-Aug-2010 |
John McCall <rjmccall@apple.com> |
Inline a special case of EmitAggregateCopy into EmitNullInitialization to avoid the awesome-but-wrong-in-this-case assertion in the canon EAC. Fixes PR7834. Also fix a subtle address-space bug in the memset path. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110511 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/value-init.cpp
|
1c63b9c15d48cb8c833a4b2d6fd6c496c0766e88 |
|
27-Apr-2010 |
Douglas Gregor <dgregor@apple.com> |
When explicitly building a temporary object (CXXTemporaryObjectExpr), keep track of whether we need to zero-initialize storage prior to calling its constructor. Previously, we were only tracking this when implicitly constructing the object (a CXXConstructExpr). Fixes Boost's value-initialization tests, which means that the Boost.Config library now passes all of its tests. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102461 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/value-init.cpp
|
3ecd785aff34381f3704d9cb28fe3ef85af759de |
|
04-Apr-2010 |
Mon P Wang <wangmp@apple.com> |
Reapply patch for adding support for address spaces and added a isVolatile field to memcpy, memmove, and memset. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100305 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/value-init.cpp
|
c90f56d9f144b2dce88d1c141ddf0e0940e62e63 |
|
02-Apr-2010 |
Mon P Wang <wangmp@apple.com> |
Revert r100193 since it causes failures in objc in clang git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100200 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/value-init.cpp
|
8facca6cafa8d471768fe14074b1301e24e08fec |
|
02-Apr-2010 |
Mon P Wang <wangmp@apple.com> |
Reapply patch for adding support for address spaces and added a isVolatile field to memcpy, memmove, and memset. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100193 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/value-init.cpp
|
b5896c37922e09529e61db4b3dd946cf2ecb211e |
|
31-Mar-2010 |
Bob Wilson <bob.wilson@apple.com> |
Revert Mon Ping's 99930 due to broken llvm-gcc buildbots. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99949 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/value-init.cpp
|
3b5caa20652c43d00229bac972b78bee44a0ee9f |
|
30-Mar-2010 |
Mon P Wang <wangmp@apple.com> |
Added support for address spaces and added a isVolatile field to memcpy, memmove, and memset git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99930 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/value-init.cpp
|
7dd4490e47a5348d3f5c6e05946f84666eceaec7 |
|
16-Dec-2009 |
Douglas Gregor <dgregor@apple.com> |
Fix test case to unbreak testing git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91551 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/value-init.cpp
|
16006c901315fa12a108b4e571f187f4b676e426 |
|
16-Dec-2009 |
Douglas Gregor <dgregor@apple.com> |
When value-initializing a class with no user-defined constructors but with a non-trivial default constructor, zero-initialize the storage and then call the default constructor. Fixes PR5800. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91548 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/value-init.cpp
|