summaryrefslogtreecommitdiffstats
path: root/libcxx/include/ios
diff options
context:
space:
mode:
authorStella Stamenova <stilis@microsoft.com>2018-07-11 22:47:35 +0000
committerStella Stamenova <stilis@microsoft.com>2018-07-11 22:47:35 +0000
commit62c76db4eec8ef64a03c4b077045893bebfc38e9 (patch)
treeea44b21fe54988e2950d11b0c43582d9af9f9a8d /libcxx/include/ios
parented6acde8cf2f764fce5df495d5f2a24bc08a3e80 (diff)
downloadbcm5719-llvm-62c76db4eec8ef64a03c4b077045893bebfc38e9.tar.gz
bcm5719-llvm-62c76db4eec8ef64a03c4b077045893bebfc38e9.zip
[windows] Fix out-of-memory failure in some of the tests
Summary: When ReadProcessMemory fails, bytes_read is sometimes set to a large garbage value. In that case, we need to set it back to zero before returning or the garbage value will be used to allocate memory later causing LLDB to crash with an out of memory error. Reviewers: asmith, zturner Reviewed By: zturner Subscribers: zturner, asmith, stella.stamenova, llvm-commits Differential Revision: https://reviews.llvm.org/D49159 llvm-svn: 336865
Diffstat (limited to 'libcxx/include/ios')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud