diff options
author | Dan Gohman <gohman@apple.com> | 2007-05-17 18:29:01 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2007-05-17 18:29:01 +0000 |
commit | 26b4ef76d9ae51748aced606de919ec1ddfa545e (patch) | |
tree | fcc9a7ecee9f21c1f05cad5ccf3902e3a48711dc /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 7bee9ad4f7a731cc6d51670528ec3702dbdbdf1a (diff) | |
download | llvm-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