[WebAssembly] Define WebAssembly-specific relocation codes.
[oota-llvm.git] / lib / MC / MCExpr.cpp
index 0f26b38c29d7c8d6d4828412feb228bd797ae8e8..748644bd9c8fc396235ea1290df5914b9952f359 100644 (file)
@@ -300,6 +300,7 @@ StringRef MCSymbolRefExpr::getVariantKindName(VariantKind Kind) {
   case VK_Hexagon_LD_PLT: return "LDPLT";
   case VK_Hexagon_IE: return "IE";
   case VK_Hexagon_IE_GOT: return "IEGOT";
+  case VK_WebAssembly_FUNCTION: return "FUNCTION";
   case VK_TPREL: return "tprel";
   case VK_DTPREL: return "dtprel";
   }