commit | a2197f8f51c97ef61a814a7f16fd1eab20a47b5a | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Sun Nov 22 00:16:24 2015 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Sun Nov 22 00:16:24 2015 +0000 |
tree | 8ff804c2d4ddcc57d935197de5dffffbdf017586 | |
parent | 0e13c07553708c5ec5247aac8a67a7a263169902 [diff] |
Have a single way for creating unique value names. We had two code paths. One would create names like "foo.1" and the other names like "foo1". For globals it is important to use "foo.1" to help C++ name demangling. For locals there is no strong reason to go one way or the other so I kept the most common mangling (foo1). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253804 91177308-0d34-0410-b5e6-96231b3b80d8