aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-05-17 18:29:01 +0000
committerDan Gohman <gohman@apple.com>2007-05-17 18:29:01 +0000
commit26b4ef76d9ae51748aced606de919ec1ddfa545e (patch)
treefcc9a7ecee9f21c1f05cad5ccf3902e3a48711dc /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent7bee9ad4f7a731cc6d51670528ec3702dbdbdf1a (diff)
downloadllvm-26b4ef76d9ae51748aced606de919ec1ddfa545e.zip
llvm-26b4ef76d9ae51748aced606de919ec1ddfa545e.tar.gz
llvm-26b4ef76d9ae51748aced606de919ec1ddfa545e.tar.bz2
Fix some sporadic segfaults that are triggered when SmallVector's heap
storage lands near the end of the available address space. In the expression Begin+N > Capacity, the Begin+N was overflowing. Fix this by replacing it by with an expression that doesn't involve computation of an address beyond the end of allocated memory. llvm-svn: 37171
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions