obj2yaml: Use the correct relocation type for different machine types
[oota-llvm.git] / lib / IR / AttributeImpl.h
index 9da3f9659e035ac397fb572b91e399a2a41ecb2d..9f3fd3e606d387562f1047dabbc11f5e69f17507 100644 (file)
@@ -94,6 +94,7 @@ public:
 /// attribute enties, which are for target-dependent attributes.
 
 class EnumAttributeImpl : public AttributeImpl {
+  virtual void anchor();
   Attribute::AttrKind Kind;
 
 protected:
@@ -108,6 +109,7 @@ public:
 };
 
 class AlignAttributeImpl : public EnumAttributeImpl {
+  void anchor() override;
   unsigned Align;
 
 public:
@@ -122,6 +124,7 @@ public:
 };
 
 class StringAttributeImpl : public AttributeImpl {
+  virtual void anchor();
   std::string Kind;
   std::string Val;