diff options
author | Jason Molenda <jmolenda@apple.com> | 2015-02-03 23:39:47 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2015-02-03 23:39:47 +0000 |
commit | 250b1b890293bce75747ed2f12e18c1b2e6cfd83 (patch) | |
tree | 3b303ab5956652bfcf7cafa13466261cf007c31f /llvm/lib/CodeGen/RegAllocPBQP.cpp | |
parent | fce61d3fc86eac3c744fe6121bcc9f0022364980 (diff) | |
download | bcm5719-llvm-250b1b890293bce75747ed2f12e18c1b2e6cfd83.tar.gz bcm5719-llvm-250b1b890293bce75747ed2f12e18c1b2e6cfd83.zip |
Small fix for the "memory write -i filename" command -- if the user fails to specify the
number of bytes to write into the inferior process, the "default byte size" will be 1.
In that case, we want to copy the entire file into memory. The code was looking for
a default byte size of 0 to indicate that the user had not provided a specific # of
bytes to copy; adjust that to 1 to match the actual default value.
<rdar://problem/18074973>
llvm-svn: 228067
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocPBQP.cpp')
0 files changed, 0 insertions, 0 deletions