summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/include/lld/Core/File.h2
-rw-r--r--lld/lib/Core/File.cpp2
-rw-r--r--lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/lld/include/lld/Core/File.h b/lld/include/lld/Core/File.h
index 30947a63cfb..0ac16f0f61a 100644
--- a/lld/include/lld/Core/File.h
+++ b/lld/include/lld/Core/File.h
@@ -215,7 +215,7 @@ protected:
static atom_collection_empty<DefinedAtom> _noDefinedAtoms;
static atom_collection_empty<UndefinedAtom> _noUndefinedAtoms;
- static atom_collection_empty<SharedLibraryAtom> _noSharedLibaryAtoms;
+ static atom_collection_empty<SharedLibraryAtom> _noSharedLibraryAtoms;
static atom_collection_empty<AbsoluteAtom> _noAbsoluteAtoms;
StringRef _path;
diff --git a/lld/lib/Core/File.cpp b/lld/lib/Core/File.cpp
index a4148554410..bc3228f7f43 100644
--- a/lld/lib/Core/File.cpp
+++ b/lld/lib/Core/File.cpp
@@ -21,7 +21,7 @@ StringRef File::translationUnitSource() const {
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<SharedLibraryAtom> File::_noSharedLibraryAtoms;
File::atom_collection_empty<AbsoluteAtom> File::_noAbsoluteAtoms;
diff --git a/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp b/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
index 3d58c721f42..e2457880781 100644
--- a/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
+++ b/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
@@ -665,7 +665,7 @@ struct MappingTraits<const lld::File*> {
return _noUndefinedAtoms;
}
virtual const atom_collection<lld::SharedLibraryAtom> &sharedLibrary()const{
- return _noSharedLibaryAtoms;
+ return _noSharedLibraryAtoms;
}
virtual const atom_collection<lld::AbsoluteAtom> &absolute() const {
return _noAbsoluteAtoms;
OpenPOWER on IntegriCloud