summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/BasicBlock.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2014-07-24 01:53:11 +0000
committerJason Molenda <jmolenda@apple.com>2014-07-24 01:53:11 +0000
commit9e7da0fb44b6d999700ba96743b16c1c112c2baa (patch)
tree67ce262b942eb45e4bae0ae60cb89d4f716d5ba7 /llvm/lib/IR/BasicBlock.cpp
parent36a216eefc8c1d46bc6704cd355d55abbea33c41 (diff)
downloadbcm5719-llvm-9e7da0fb44b6d999700ba96743b16c1c112c2baa.tar.gz
bcm5719-llvm-9e7da0fb44b6d999700ba96743b16c1c112c2baa.zip
Add debug asserts / sanity checks to
GDBRemoteRegisterContext::ReadRegisterBytes and GDBRemoteRegisterContext::WriteRegisterBytes to ensure we don't try to read/write off the end of the register buffer. This should never happen but we've had some target confusion in the past where it did; adding the checks is prudent to avoid crashing here if it happens again. <rdar://problem/16450971> <rdar://problem/16458182> llvm-svn: 213829
Diffstat (limited to 'llvm/lib/IR/BasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud