OSDN Git Service

[PowerPC] Parse platform-specifc variant kinds in AsmParser
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Fri, 3 May 2013 19:52:35 +0000 (19:52 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Fri, 3 May 2013 19:52:35 +0000 (19:52 +0000)
commita7e5e6b959bfd2b7982e116a4fd6955b35534b4c
tree826ed25b4c675911cfbdb0963b5d5a97a98a393c
parent8e4ba8f7b19615907e5874b3aa661d52c21fff74
[PowerPC] Parse platform-specifc variant kinds in AsmParser

This patch adds support for PowerPC platform-specific variant
kinds in MCSymbolRefExpr::getVariantKindForName, and also
adds a test case to verify they are translated to the appropriate
fixup type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181053 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCExpr.cpp
test/MC/PowerPC/ppc64-fixups.s [new file with mode: 0644]