[mips] [IAS] Implement the .asciiz directive.
authorToma Tabacu <toma.tabacu@imgtec.com>
Tue, 21 Apr 2015 11:50:52 +0000 (11:50 +0000)
committerToma Tabacu <toma.tabacu@imgtec.com>
Tue, 21 Apr 2015 11:50:52 +0000 (11:50 +0000)
commit11e14a946760ed7085022890eebe7c9e5412f0d1
tree99de685a36d8a5c7c87763d4fe5257f63740776a
parent654af8f62f07a2832611c98027d578b9dc0ea7f2
[mips] [IAS] Implement the .asciiz directive.

Summary:
This directive is exactly the same as .asciz, except it's only used by MIPS.
It is used to store null terminated strings in object files.

Reviewers: rafael, dsanders, echristo

Reviewed By: dsanders, echristo

Subscribers: echristo, llvm-commits

Differential Revision: http://reviews.llvm.org/D7530

llvm-svn: 235382
llvm/include/llvm/MC/MCParser/MCAsmParser.h
llvm/lib/MC/MCParser/AsmParser.cpp
llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
llvm/test/MC/Mips/asciiz-directive-bad.s [new file with mode: 0644]
llvm/test/MC/Mips/asciiz-directive.s [new file with mode: 0644]