make intel asmprinter use TRI::getAsmName instead of TRI::getName like
commit4957efed4f96e7af2efbcba4f5a6b3a6f255c795
authorChris Lattner <sabre@nondot.org>
Sun, 13 Sep 2009 19:44:38 +0000 (13 19:44 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 13 Sep 2009 19:44:38 +0000 (13 19:44 +0000)
treeba34ccf54455a7a57835e9444fdcd1e9449fc521
parent59a6e61b92fa4a02cd9a68b5b6e4e63dee2ff524
make intel asmprinter use TRI::getAsmName instead of TRI::getName like
all the other targets.  Add support for weak/linkonce linkage so it doesn't
crash on basically all nontrivial testcases.

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