aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-09-02 09:58:18 +0000
committerJohn McCall <rjmccall@apple.com>2010-09-02 09:58:18 +0000
commit1e7fe751466ea82665fd21e9162fd7cc9c5f412d (patch)
tree22ddc3afa09efbf1ccb9de98517cf4a9807ecb5c /lib/CodeGen/CodeGenModule.cpp
parentcd4c34d2a078b78ca31fd3bc5cbb210123dce89d (diff)
Abstract IR generation of array cookies into the C++ ABI class and
implement ARM array cookies. Also fix a few unfortunate bugs: - throwing dtors in deletes prevented the allocation from being deleted - adding the cookie to the new[] size was not being considered for overflow (and, more seriously, was screwing up the earlier checks) - deleting an array via a pointer to array of class type was not causing any destructors to be run and was passing the unadjusted pointer to the deallocator - lots of address-space problems, in case anyone wants to support free store in a variant address space :) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112814 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions