diff options
| author | Owen Anderson <resistor@mac.com> | 2007-07-18 19:54:15 +0000 |
|---|---|---|
| committer | Owen Anderson <resistor@mac.com> | 2007-07-18 19:54:15 +0000 |
| commit | b54b315251848ddab87ef9f2aa9aac92e3c68357 (patch) | |
| tree | 735aab1cd8b6b44495a0719b2e6e4000453aa346 /lib/Bitcode/Reader/BitcodeReader.h | |
| parent | 48613b930a34d6f98e7d3dd86aa49cc3dbd61c85 (diff) | |
| download | llvm-b54b315251848ddab87ef9f2aa9aac92e3c68357.tar.gz llvm-b54b315251848ddab87ef9f2aa9aac92e3c68357.tar.bz2 llvm-b54b315251848ddab87ef9f2aa9aac92e3c68357.tar.xz | |
Fix an issue where assignments that caused a SmallPtrSet to become non-small
would result in calling realloc() on a null pointer. Instead, if we encounter
this situation, make a normal call to malloc().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40014 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.h')
0 files changed, 0 insertions, 0 deletions
