add support for .asciz, and enable it by default. If your target assemblerdoesn...
authorChris Lattner <sabre@nondot.org>
Thu, 10 Nov 2005 18:06:33 +0000 (18:06 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 10 Nov 2005 18:06:33 +0000 (18:06 +0000)
commit2980cefb809c60aa1d7dd85adfc2c269f731de88
treebbde8a0b6b79cb488eb2581e4e6ce33ba5435ed1
parent38b6d78112d975d288615db2913418c8bd1b0956
add support for .asciz, and enable it by default.  If your target assemblerdoesn't support .asciz, just set AscizDirective to null in your asmprinter.
This compiles C strings to:

l1__2E_str_1:                           ; '.str_1'
        .asciz  "foo"

instead of:

l1__2E_str_1:                           ; '.str_1'
        .ascii  "foo\000"

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24272 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter.cpp