add support for .asciz, and enable it by default. If your target assembler
authorChris Lattner <sabre@nondot.org>
Thu, 10 Nov 2005 18:05:57 +0000 (18:05 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 10 Nov 2005 18:05:57 +0000 (18:05 +0000)
commit38b6d78112d975d288615db2913418c8bd1b0956
tree4d40acad38cbe9fa6c172e2c3ec4265358144221
parent99b8e26b84033b5932cfe2a1d1542ea33cb21a8a
add support for .asciz, and enable it by default.  If your target assembler
doesn'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@24271 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/AsmPrinter.h