summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/MemoryBuiltins.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-03-08 21:08:23 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-03-08 21:08:23 +0000
commit5846239e1669f8047ad095f18d05e4a04bd61079 (patch)
treedbaea486ac8b000547343821e609407ffe304da5 /llvm/lib/Analysis/MemoryBuiltins.cpp
parentd974524d3da2cb17dda908e7a78d3542e4c67ef6 (diff)
downloadbcm5719-llvm-5846239e1669f8047ad095f18d05e4a04bd61079.tar.gz
bcm5719-llvm-5846239e1669f8047ad095f18d05e4a04bd61079.zip
Assert to bounds check MDNode::getOperand.
The getOperandPtr utility already bounds checks, but allows one-off-the-end. This assert should catch the cases that could previously have been dereferencing these one-off-the-end pointer. Happily, no cases of this came up with this change. llvm-svn: 176721
Diffstat (limited to 'llvm/lib/Analysis/MemoryBuiltins.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud