[lld][ELF] (no testable functionality change) resize the number of entries in the string table for static linking

llvm-svn: 180692
diff --git a/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp b/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
index c07bf56..747d161 100644
--- a/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
+++ b/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
@@ -241,7 +241,8 @@
   virtual void push_back(const T *element) {
     _atoms.push_back(element);
   }
-  std::vector<const T*>   _atoms;
+  virtual uint64_t size() const { return _atoms.size(); }
+  std::vector<const T *> _atoms;
 };
 
 /// Mapping of kind: field in yaml files.
@@ -301,11 +302,11 @@
     default:
       if (auto relocStr = info->_targetInfo.stringFromRelocKind(value))
         out << *relocStr;
-      else 
+      else
         out << "<unknown>";
       break;
     }
-  } 
+  }
 
   static StringRef input(StringRef scalar, void *ctxt, RefKind &value) {
     assert(ctxt != nullptr);