diff options
author | Kazuaki Ishizaki <ishizaki@jp.ibm.com> | 2020-01-06 10:21:05 -0800 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2020-01-06 10:25:48 -0800 |
commit | 7ae3d335467a24faa80ebd9b31446c649570ca0c (patch) | |
tree | 2c198b4fca6d45c20d7a8c0c805847f7ce8bf72b /lld/include | |
parent | 5b24c088171d3bd7a8ff559c82926e5d4b04f032 (diff) | |
download | bcm5719-llvm-7ae3d335467a24faa80ebd9b31446c649570ca0c.tar.gz bcm5719-llvm-7ae3d335467a24faa80ebd9b31446c649570ca0c.zip |
[lld] Fix trivial typos in comments
Reviewed By: ruiu, MaskRay
Differential Revision: https://reviews.llvm.org/D72196
Diffstat (limited to 'lld/include')
-rw-r--r-- | lld/include/lld/Core/Atom.h | 2 | ||||
-rw-r--r-- | lld/include/lld/Core/Instrumentation.h | 2 | ||||
-rw-r--r-- | lld/include/lld/Core/Reference.h | 2 | ||||
-rw-r--r-- | lld/include/lld/ReaderWriter/MachOLinkingContext.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/lld/include/lld/Core/Atom.h b/lld/include/lld/Core/Atom.h index 4d3d27a2af5..d89792d84d1 100644 --- a/lld/include/lld/Core/Atom.h +++ b/lld/include/lld/Core/Atom.h @@ -38,7 +38,7 @@ public: definitionSharedLibrary ///< Only in shared libraries to model export. }; - /// The scope in which this atom is acessible to other atoms. + /// The scope in which this atom is accessible to other atoms. enum Scope { scopeTranslationUnit, ///< Accessible only to atoms in the same translation /// unit (e.g. a C static). diff --git a/lld/include/lld/Core/Instrumentation.h b/lld/include/lld/Core/Instrumentation.h index 602a37aff57..e0b1145fe4e 100644 --- a/lld/include/lld/Core/Instrumentation.h +++ b/lld/include/lld/Core/Instrumentation.h @@ -58,7 +58,7 @@ public: /// Each thread has its own task stack and tasks nest recursively on that stack. /// A task cannot transfer threads. /// -/// SBRM is used to ensure task starts and ends are ballanced. The lifetime of +/// SBRM is used to ensure task starts and ends are balanced. The lifetime of /// a task is either the lifetime of this object, or until end is called. class ScopedTask { __itt_domain *_domain; diff --git a/lld/include/lld/Core/Reference.h b/lld/include/lld/Core/Reference.h index 191e0f07ec3..4769882cde5 100644 --- a/lld/include/lld/Core/Reference.h +++ b/lld/include/lld/Core/Reference.h @@ -104,7 +104,7 @@ protected: /// The memory for Reference objects is always managed by the owning File /// object. Therefore, no one but the owning File object should call - /// delete on an Reference. In fact, some File objects may bulk allocate + /// delete on a Reference. In fact, some File objects may bulk allocate /// an array of References, so they cannot be individually deleted by anyone. virtual ~Reference() = default; diff --git a/lld/include/lld/ReaderWriter/MachOLinkingContext.h b/lld/include/lld/ReaderWriter/MachOLinkingContext.h index a950fd5b18e..cd57604fa17 100644 --- a/lld/include/lld/ReaderWriter/MachOLinkingContext.h +++ b/lld/include/lld/ReaderWriter/MachOLinkingContext.h @@ -248,7 +248,7 @@ public: /// installed dynamic library. uint32_t compatibilityVersion() const { return _compatibilityVersion; } - /// The dylib's current version, in the the raw uint32 format. + /// The dylib's current version, in the raw uint32 format. /// /// When building a dynamic library, this is the current version that gets /// embedded into the result. Other Mach-O binaries that link against |