Change the asmprinter to print the comment character before the
authorChris Lattner <sabre@nondot.org>
Tue, 11 Aug 2009 22:39:40 +0000 (22:39 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 11 Aug 2009 22:39:40 +0000 (22:39 +0000)
commite2b060161c92ddf60b5d020f981451e9e34a3f02
tree15b1240b4ff1ad16135acf4096de957cb2facb80
parent546952fd600ddba3f1eb6d4f93ff4eb42821a962
Change the asmprinter to print the comment character before the
"inlineasmstart/end" strings so that the contents of the directive
are separate from the comment character.  This lets elf targets
get #APP/#NOAPP for free even if they don't use "#" as the comment
character.  This also allows hoisting the darwin stuff up to the
shared TAI class.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78737 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/Target/ARM/ARMTargetAsmInfo.cpp
lib/Target/Blackfin/BlackfinTargetAsmInfo.cpp
lib/Target/CellSPU/SPUTargetAsmInfo.cpp
lib/Target/DarwinTargetAsmInfo.cpp
lib/Target/PowerPC/PPCTargetAsmInfo.cpp
lib/Target/TargetAsmInfo.cpp
lib/Target/X86/X86TargetAsmInfo.cpp