add a AsmPrinter::GetGlobalValueSymbol and GetExternalSymbolSymbol
authorChris Lattner <sabre@nondot.org>
Fri, 15 Jan 2010 23:18:17 +0000 (23:18 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 15 Jan 2010 23:18:17 +0000 (23:18 +0000)
commit6b04edee11c2bb35a48b1c42f867b4ba8cdfff97
tree1e92b2c74a077048932b3ef0b1559c534ad4840b
parent11f30b013149a2a4cb0b41288488079a24730fe1
add a AsmPrinter::GetGlobalValueSymbol and GetExternalSymbolSymbol
helper method, use it to simplify some code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93575 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/AsmPrinter.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
lib/Target/Blackfin/AsmPrinter/BlackfinAsmPrinter.cpp
lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp