OSDN Git Service

[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)
commit203a9224ffb75cb50e6583303f705bf7173b9d99
tree925c91ea8d05ba923bbc7d5f169fc3af57d75814
parentc589d1b3bc8d2be335eea57fa0119e72c540c255
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235382 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCParser/MCAsmParser.h
lib/MC/MCParser/AsmParser.cpp
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
test/MC/Mips/asciiz-directive-bad.s [new file with mode: 0644]
test/MC/Mips/asciiz-directive.s [new file with mode: 0644]