Add support for assigning to . in AsmParser.
authorAnders Waldenborg <anders@0x63.nu>
Mon, 17 Feb 2014 20:48:32 +0000 (20:48 +0000)
committerAnders Waldenborg <anders@0x63.nu>
Mon, 17 Feb 2014 20:48:32 +0000 (20:48 +0000)
commit848095748605464e4d63d6c49976adc7483e6ff9
tree1ed756617c53990d673a0a963e4f68683f334670
parentbf854f0f53eab60d127d13e33068993007da280f
Add support for assigning to . in AsmParser.

This is implemented by handling assignments to the '.' pseudo symbol
as ".org" directives.

Differential Revision: http://llvm-reviews.chandlerc.com/D2625

llvm-svn: 201530
llvm/lib/MC/MCParser/AsmParser.cpp
llvm/test/MC/AsmParser/dot-symbol-assignment-backwards.s [new file with mode: 0644]
llvm/test/MC/AsmParser/dot-symbol-assignment.s [new file with mode: 0644]
llvm/test/MC/AsmParser/dot-symbol-non-absolute.s [new file with mode: 0644]
llvm/test/MC/AsmParser/dot-symbol.s
llvm/test/MC/ELF/dot-symbol-assignment.s [new file with mode: 0644]