aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2015-11-05 19:43:34 +0000
committerTobias Grosser <tobias@grosser.es>2015-11-05 19:43:34 +0000
commit4bf262a0f207226c62b95ad774676157641b168a (patch)
treea07f7939c138813ca354ab585b88337669f79644 /llvm/lib/CodeGen/LiveDebugVariables.cpp
parent387e66e79fc368760418f7394a6e93eeeb3f0ec8 (diff)
downloadllvm-4bf262a0f207226c62b95ad774676157641b168a.zip
llvm-4bf262a0f207226c62b95ad774676157641b168a.tar.gz
llvm-4bf262a0f207226c62b95ad774676157641b168a.tar.bz2
RunTimeDebugBuilder: Allocate memory _after_ knowing how much is needed
This fixes a memory corruption issue, where we accessed more memory than actually allocated. llvm-svn: 252197
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions