diff options
author | Nico Weber <thakis@chromium.org> | 2020-04-04 12:52:37 -0400 |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2020-04-04 12:52:45 -0400 |
commit | eb81d440fc96117b2b44f47b7cba69c2ac066905 (patch) | |
tree | d875b889f8b57b40da00854bd34904702b6f180b /lld/lib | |
parent | 4ede730096813a9cb901b92fdd3670813cdc5bc1 (diff) | |
download | llvm-project-eb81d440fc96117b2b44f47b7cba69c2ac066905.tar.gz |
fix typo in comment to cycle bots
Diffstat (limited to 'lld/lib')
-rw-r--r-- | lld/lib/Core/Error.cpp | 2 | ||||
-rw-r--r-- | lld/lib/Core/Resolver.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lld/lib/Core/Error.cpp b/lld/lib/Core/Error.cpp index dc846db1ab0c..a4f4b1b8af48 100644 --- a/lld/lib/Core/Error.cpp +++ b/lld/lib/Core/Error.cpp @@ -62,7 +62,7 @@ public: int add(std::string msg) { std::lock_guard<std::recursive_mutex> lock(_mutex); - // Value zero is always the successs value. + // Value zero is always the success value. if (_messages.empty()) _messages.push_back("Success"); _messages.push_back(msg); diff --git a/lld/lib/Core/Resolver.cpp b/lld/lib/Core/Resolver.cpp index d1c3d8159f58..17a46056f00c 100644 --- a/lld/lib/Core/Resolver.cpp +++ b/lld/lib/Core/Resolver.cpp @@ -298,7 +298,7 @@ void Resolver::updateReferences() { for (const OwningAtomPtr<Atom> &atom : _atoms) { if (const DefinedAtom *defAtom = dyn_cast<DefinedAtom>(atom.get())) { for (const Reference *ref : *defAtom) { - // A reference of type kindAssociate should't be updated. + // A reference of type kindAssociate shouldn't be updated. // Instead, an atom having such reference will be removed // if the target atom is coalesced away, so that they will // go away as a group. |