aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenAction.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2016-03-02 19:01:11 +0000
committerJustin Bogner <mail@justinbogner.com>2016-03-02 19:01:11 +0000
commitb2ecee9c31e93f786cff56d0faf816ebe6268e34 (patch)
tree351242b9534c3653e81b4bac16bd63b4f663c80c /clang/lib/CodeGen/CodeGenAction.cpp
parent8c1ec1ef38e361c76a7f71f8078e21220619cca4 (diff)
downloadllvm-b2ecee9c31e93f786cff56d0faf816ebe6268e34.zip
llvm-b2ecee9c31e93f786cff56d0faf816ebe6268e34.tar.gz
llvm-b2ecee9c31e93f786cff56d0faf816ebe6268e34.tar.bz2
SelectionDAG: Use correctly sized allocation functions for SDNodes
The placement new calls here were all calling the allocation function in RecyclingAllocator/Recycler for SDNode, instead of the function for the specific subclass we were constructing. Since this particular allocator always overallocates it more or less worked, but would hide what we're actually doing from any memory tools. Also, if you tried to change this allocator so something like a BumpPtrAllocator or MallocAllocator, the compiler would crash horribly all the time. Part of llvm.org/PR26808. llvm-svn: 262500
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
0 files changed, 0 insertions, 0 deletions