From 81b61a111f573034b5087d43b091ed97f5f1b966 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8F=A0=E8=90=9D=E6=9C=89=E7=82=B9=E9=85=B8?= Date: Tue, 12 Nov 2024 01:40:14 +0000 Subject: [PATCH 1/4] update libsanitizer/tsan/tsan_rtl.h. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 菠萝有点酸 --- libsanitizer/tsan/tsan_rtl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsanitizer/tsan/tsan_rtl.h b/libsanitizer/tsan/tsan_rtl.h index eab83704240..03732e9c02d 100644 --- a/libsanitizer/tsan/tsan_rtl.h +++ b/libsanitizer/tsan/tsan_rtl.h @@ -149,7 +149,7 @@ struct ThreadState { // but it is placed here in order to share cache line with previous fields. ThreadState* current; // This is a slow path flag. On fast path, fast_state.GetIgnoreBit() is read. - // We do not distinguish beteween ignoring reads and writes + // We do not distinguish between ignoring reads and writes // for better performance. int ignore_reads_and_writes; atomic_sint32_t pending_signals; -- Gitee From 1d04b0e382821e234eb1b17f729c003d36bbacba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8F=A0=E8=90=9D=E6=9C=89=E7=82=B9=E9=85=B8?= Date: Tue, 12 Nov 2024 01:41:09 +0000 Subject: [PATCH 2/4] update lto-plugin/lto-plugin.c. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 菠萝有点酸 --- lto-plugin/lto-plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lto-plugin/lto-plugin.c b/lto-plugin/lto-plugin.c index 33d49571d0e..404dc941458 100644 --- a/lto-plugin/lto-plugin.c +++ b/lto-plugin/lto-plugin.c @@ -100,7 +100,7 @@ startswith (const char *str, const char *prefix) /* The part of the symbol table the plugin has to keep track of. Note that we must keep SYMS until all_symbols_read is called to give the linker time to copy the symbol information. - The id must be 64bit to minimze collisions. */ + The id must be 64bit to minimize collisions. */ struct sym_aux { -- Gitee From cb5829ddddb715cd9929b6ad460781a45baf6b72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8F=A0=E8=90=9D=E6=9C=89=E7=82=B9=E9=85=B8?= Date: Tue, 12 Nov 2024 01:42:41 +0000 Subject: [PATCH 3/4] update libcody/README.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 菠萝有点酸 --- libcody/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcody/README.md b/libcody/README.md index a95085eac7a..4530db95d28 100644 --- a/libcody/README.md +++ b/libcody/README.md @@ -181,7 +181,7 @@ omitted the value 0 is implied. The following flags are available: * `1<<0`, `NameOnly`: The request is for the name only, and not the CMI contents. -The `NameOnly` flag may be provded in a handshake response, and +The `NameOnly` flag may be provided in a handshake response, and indicates that the server is interested in requests only for their implied dependency information. It may be provided on a request to indicate that only the CMI name is required, not its contents (for -- Gitee From 6bb5c00a6009ea91760e1ec5af61f74b0452b2d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8F=A0=E8=90=9D=E6=9C=89=E7=82=B9=E9=85=B8?= Date: Tue, 12 Nov 2024 01:43:47 +0000 Subject: [PATCH 4/4] update libcody/cody.hh. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 菠萝有点酸 --- libcody/cody.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcody/cody.hh b/libcody/cody.hh index 789ce9e70b7..5aa93171c14 100644 --- a/libcody/cody.hh +++ b/libcody/cody.hh @@ -382,7 +382,7 @@ private: Server *server; ///< Directly connected server }; bool is_direct = false; ///< Discriminator - bool is_connected = false; /// Connection handshake succesful + bool is_connected = false; /// Connection handshake successful private: Client (); @@ -449,7 +449,7 @@ public: public: /// /// Perform connection handshake. All othe requests will result in - /// errors, until handshake is succesful. + /// errors, until handshake is successful. /// @param agent compiler identification /// @param ident compilation identifiation (maybe nullptr) /// @param alen length of agent string, if known -- Gitee