OSDN Git Service

reimplement X86ATTAsmPrinter::GetGlobalAddressSymbol in terms of
authorChris Lattner <sabre@nondot.org>
Fri, 11 Sep 2009 05:58:44 +0000 (05:58 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 11 Sep 2009 05:58:44 +0000 (05:58 +0000)
commita49ea86ba234c6b738dda33ef608781a86bde1b9
tree85dd11d374520604cfbe486d1b024f0a90a0d176
parentceddb2b8565023b7d525f1bfd0afc5ba6e7f807f
reimplement X86ATTAsmPrinter::GetGlobalAddressSymbol in terms of
Mangler::getNameWithPrefix.  In addition to avoiding some over
quoting, this also is more efficient because it uses smallvector
instead of std::string thrashing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81508 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/AsmPrinter/X86MCInstLower.cpp