[weak vtables] Remove a bunch of weak vtables
[oota-llvm.git] / lib / IR / Attributes.cpp
index bcd324c4ffa45f9731a3ebc0964b560fa8633e1f..0f2b7a0ebb4f7cbe875490a6de09d7feed393cee 100644 (file)
@@ -286,7 +286,11 @@ bool Attribute::operator<(Attribute A) const {
 // AttributeImpl Definition
 //===----------------------------------------------------------------------===//
 
+// Pin the vtabels to this file.
 AttributeImpl::~AttributeImpl() {}
+void EnumAttributeImpl::anchor() {}
+void AlignAttributeImpl::anchor() {}
+void StringAttributeImpl::anchor() {}
 
 bool AttributeImpl::hasAttribute(Attribute::AttrKind A) const {
   if (isStringAttribute()) return false;