rename Memo/Count to AnonGlobalIDs/NextAnonGlobalID to be more
authorChris Lattner <sabre@nondot.org>
Tue, 14 Jul 2009 00:01:06 +0000 (00:01 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 14 Jul 2009 00:01:06 +0000 (00:01 +0000)
commit59ecdfbee3aaf1ed48e8ddf0a660044fa8a93729
treec0c1a0d03fd20221236b5882b43f9fd3e03e20cf
parent385396221bc244d6592a60133c55874ff57571ac
rename Memo/Count to AnonGlobalIDs/NextAnonGlobalID to be more
descriptive.  Thange them to keep track of the ID of a global that is
assigned, not the first mangled name returned for it.  Without doing this,
we are required to always use the same suffix for a global that gets
mangled.  This means that we can mangle the same global once with $stub
and another time with $non_lazy_ptr or whatever.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75561 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Mangler.h
lib/VMCore/Mangler.cpp