OSDN Git Service

[MC] Support .dc directives in assembler parser
authorPetr Hosek <phosek@chromium.org>
Tue, 23 Aug 2016 21:34:53 +0000 (21:34 +0000)
committerPetr Hosek <phosek@chromium.org>
Tue, 23 Aug 2016 21:34:53 +0000 (21:34 +0000)
commite994d796e28fa1044bac2a894cb982486e56c3fa
tree2676576dac016adfc8e4f8b6e9224a7b2a01f467
parent242275b349a53f78d80ae0c2d75aa416546d1b50
[MC] Support .dc directives in assembler parser

While these directives are mostly aliases for the existing integer
and float value directives, some of them like .dc.a have no direct
equivalents and are sometimes being used for convenience.

Differential Revision: https://reviews.llvm.org/D23810

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279577 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCParser/AsmParser.cpp
test/MC/AsmParser/directive_dc.s [new file with mode: 0644]