Rewrote backpatcher. Backpatcher now stores the "has final pointer"
authorTed Kremenek <kremenek@apple.com>
Thu, 1 Nov 2007 00:57:37 +0000 (00:57 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 1 Nov 2007 00:57:37 +0000 (00:57 +0000)
commit066ff5b7f2de0fd263269e822858aa174e162a89
tree998754ed112887ed825a90888a582f914431ad8a
parentaef806e9cb021919be8f3a988af0478f3da75758
Rewrote backpatcher.  Backpatcher now stores the "has final pointer"
flag in the **key** of the backpatch map, as opposed to the mapped
value which contains either the final pointer, or a pointer to a chain
of pointers that need to be backpatched.  The bit flag was moved to
the key because we were erroneously assuming that the backpatched
pointers would be at an alignment of >= 2 bytes, which obviously
doesn't work for character strings.  Now we just steal the bit from the key.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43595 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Bitcode/Deserialize.h
lib/Bitcode/Reader/Deserialize.cpp