Adjust how LLVM names are produced:
authorReid Spencer <rspencer@reidspencer.com>
Sat, 19 May 2007 07:25:21 +0000 (07:25 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sat, 19 May 2007 07:25:21 +0000 (07:25 +0000)
commit922d0bcf8b764d23cbbd5ba88df53d8340ae9304
tree38ef8ecfe53b6e8a4e41e9751e8ed0abfdafb613
parent5f0d16dd628494719da8e361d7d7072f9d54c15b
Adjust how LLVM names are produced:
1. Always use % for local and @ for global.
2. Replace NameNeedsQuotes with QuoteNameIfNeeded so that any adjustments
   to the name can be done in one pass.
3. Implement generation of hex escapes so we don't get "wonky" characters
   in the output.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37260 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/AsmWriter.cpp