[WebAssembly] Define WebAssembly-specific relocation codes.
[oota-llvm.git] / include / llvm / CodeGen / AsmPrinter.h
index f5e778b2f262eeff3c3c0db5544e16c70459ac20..cf29fc9ef889ffae866c4a39726b85aafbaa9774 100644 (file)
@@ -259,7 +259,7 @@ public:
   void EmitAlignment(unsigned NumBits, const GlobalObject *GO = nullptr) const;
 
   /// Lower the specified LLVM Constant to an MCExpr.
-  const MCExpr *lowerConstant(const Constant *CV);
+  virtual const MCExpr *lowerConstant(const Constant *CV);
 
   /// \brief Print a general LLVM constant to the .s file.
   void EmitGlobalConstant(const DataLayout &DL, const Constant *CV);