diff options
| author | Colin LeMahieu <colinl@codeaurora.org> | 2015-05-01 21:14:21 +0000 |
|---|---|---|
| committer | Colin LeMahieu <colinl@codeaurora.org> | 2015-05-01 21:14:21 +0000 |
| commit | b6625654755873ccee7c2c824b3084f5740d8a0a (patch) | |
| tree | e72a1e171e4e94f0eef886fee5bf2b9a20f5613d /llvm/lib/MC | |
| parent | a8dfd33611f978e3b78e5175ee4b55618ec00c1e (diff) | |
| download | bcm5719-llvm-b6625654755873ccee7c2c824b3084f5740d8a0a.tar.gz bcm5719-llvm-b6625654755873ccee7c2c824b3084f5740d8a0a.zip | |
[Hexagon] Adding expression MC emission and removing XFAIL from test that hits this code path.
llvm-svn: 236348
Diffstat (limited to 'llvm/lib/MC')
| -rw-r--r-- | llvm/lib/MC/MCExpr.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCExpr.cpp b/llvm/lib/MC/MCExpr.cpp index 93e49d6441c..7e103871988 100644 --- a/llvm/lib/MC/MCExpr.cpp +++ b/llvm/lib/MC/MCExpr.cpp @@ -283,6 +283,18 @@ StringRef MCSymbolRefExpr::getVariantKindName(VariantKind Kind) { case VK_Mips_PCREL_HI16: return "PCREL_HI16"; case VK_Mips_PCREL_LO16: return "PCREL_LO16"; case VK_COFF_IMGREL32: return "IMGREL"; + case VK_Hexagon_PCREL: return "PCREL"; + case VK_Hexagon_LO16: return "LO16"; + case VK_Hexagon_HI16: return "HI16"; + case VK_Hexagon_GPREL: return "GPREL"; + case VK_Hexagon_GD_GOT: return "GDGOT"; + case VK_Hexagon_LD_GOT: return "LDGOT"; + case VK_Hexagon_GD_PLT: return "GDPLT"; + case VK_Hexagon_LD_PLT: return "LDPLT"; + case VK_Hexagon_IE: return "IE"; + case VK_Hexagon_IE_GOT: return "IEGOT"; + case VK_TPREL: return "tprel"; + case VK_DTPREL: return "dtprel"; } llvm_unreachable("Invalid variant kind"); } |

