diff options
author | Chris Lattner <sabre@nondot.org> | 2005-11-10 18:06:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-11-10 18:06:33 +0000 |
commit | 2980cefb809c60aa1d7dd85adfc2c269f731de88 (patch) | |
tree | bbde8a0b6b79cb488eb2581e4e6ce33ba5435ed1 /lib/CodeGen/Passes.cpp | |
parent | 38b6d78112d975d288615db2913418c8bd1b0956 (diff) |
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
Diffstat (limited to 'lib/CodeGen/Passes.cpp')
0 files changed, 0 insertions, 0 deletions