OSDN Git Service

Two changes:
authorChris Lattner <sabre@nondot.org>
Mon, 13 Jul 2009 22:48:46 +0000 (22:48 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 13 Jul 2009 22:48:46 +0000 (22:48 +0000)
commitd4f53b373e9e086ac6aefd4540880951b0f881f6
tree5814dec8e3a785f74fffc7011e295335689e72a6
parentd84b41615e8a9844d0cc26527ec9ef316fdddb84
Two changes:
1) unique globals with the existing "Count" local in Mangler, not with
atomic nonsense.  Using atomics will give us nondeterminstic output
from the compiler when using multiple threads, which is bad.

2) Do not mangle an unknown global name with a type suffix.  We don't
   need this anymore now that llvm ir doesn't have type planes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75541 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/Mangler.cpp
test/CodeGen/X86/2008-04-02-unnamedEH.ll