make intel asmprinter use TRI::getAsmName instead of TRI::getName like
authorChris Lattner <sabre@nondot.org>
Sun, 13 Sep 2009 19:44:38 +0000 (19:44 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 13 Sep 2009 19:44:38 +0000 (19:44 +0000)
commita1cb09e4b9d3b5a80a20d881b3d6d5c60d15f0d5
treeba34ccf54455a7a57835e9444fdcd1e9449fc521
parentcae05cb324031b16a71c56a2a01b489a7c28d365
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