aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/CFRefCount.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-04-24 21:49:02 +0000
committerDouglas Gregor <dgregor@apple.com>2009-04-24 21:49:02 +0000
commita67e58c8fa03c2f1aa7609bf5a436d1adba75eef (patch)
tree10b99cad0055c7801ff80dcfb42d4dd037bc9c94 /lib/Analysis/CFRefCount.cpp
parentf0aaf7a59729a4ae0146e3464ee987745be95829 (diff)
Fix two small but very nasty bugs in the PCH writer for method pools:
(1) Make sure to pad on-disk hash tables with 4 bytes, not 2, since the reader assumes that bucket data is aligned on 4-byte boundaries. (2) Don't emit the number of factory methods twice. This was throwing off the data counts and therefore causing lookups to fail. I've added asserts so that this class of error cannot happen again. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69991 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CFRefCount.cpp')
0 files changed, 0 insertions, 0 deletions