summaryrefslogtreecommitdiffstats
path: root/lld/lib/Core/File.cpp
diff options
context:
space:
mode:
authorNick Kledzik <kledzik@apple.com>2013-01-05 02:22:35 +0000
committerNick Kledzik <kledzik@apple.com>2013-01-05 02:22:35 +0000
commit6b079f5e2f303cbe24a2ef87842a50cdf831b8d7 (patch)
tree8b687e42748f67ce09418dcee4d4b5ce3e1e452f /lld/lib/Core/File.cpp
parente974bd1be9b954c33310f401ff704b4c1f1e4869 (diff)
downloadbcm5719-llvm-6b079f5e2f303cbe24a2ef87842a50cdf831b8d7.tar.gz
bcm5719-llvm-6b079f5e2f303cbe24a2ef87842a50cdf831b8d7.zip
Removes files for separate ReaderYAML.cpp and WriterYAML.cpp
and adds a new file ReaderWriterYAML.cpp that uses YAML I/O. Lots of tweaks to test suite for slightly different YAML encoding. llvm-svn: 171592
Diffstat (limited to 'lld/lib/Core/File.cpp')
-rw-r--r--lld/lib/Core/File.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lld/lib/Core/File.cpp b/lld/lib/Core/File.cpp
index 768f1d26282..be0b74d685c 100644
--- a/lld/lib/Core/File.cpp
+++ b/lld/lib/Core/File.cpp
@@ -18,4 +18,10 @@ StringRef File::translationUnitSource() const {
return StringRef();
}
+
+File::atom_collection_empty<DefinedAtom> File::_noDefinedAtoms;
+File::atom_collection_empty<UndefinedAtom> File::_noUndefinedAtoms;
+File::atom_collection_empty<SharedLibraryAtom> File::_noSharedLibaryAtoms;
+File::atom_collection_empty<AbsoluteAtom> File::_noAbsoluteAtoms;
+
}
OpenPOWER on IntegriCloud