aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-03-24 00:46:35 +0000
committerDouglas Gregor <dgregor@apple.com>2010-03-24 00:46:35 +0000
commitf9f54eab439ef3141a22886e8d30d1f799c4dd22 (patch)
treed6ba3556a1136ed9f705a1bef00154c8ff00f75c /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent68fdb871dc1cbc662987d204de823f24f0b3f837 (diff)
downloadllvm-f9f54eab439ef3141a22886e8d30d1f799c4dd22.zip
llvm-f9f54eab439ef3141a22886e8d30d1f799c4dd22.tar.gz
llvm-f9f54eab439ef3141a22886e8d30d1f799c4dd22.tar.bz2
Make sure to properly track the anonymous namespace that lives inside
each namespace, even when the outer namespace has multiple definitions. As part of this, collapsed two pointers worth of storage (original namespace and inner anonymous namespace) into a single pointer with a distinguishing bit, since the two are mutually exclusive, saving a pointer per NamespaceDecl. Fixes PR6620. llvm-svn: 99368
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions