[libc-commits] [libc] [libc] Stub TLS functions on the GPU temporarily (PR #108267)
via libc-commits
libc-commits at lists.llvm.org
Wed Sep 11 11:28:39 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff f02c72f9f996b2ef99886d345d87f6c62a3ee897 3b3ba68b5d501984fa6ec052eea4786a32cea370 --extensions cpp -- libc/startup/gpu/amdgpu/start.cpp libc/startup/gpu/nvptx/start.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libc/startup/gpu/amdgpu/start.cpp b/libc/startup/gpu/amdgpu/start.cpp
index 1ce56e5c7a..8bd0c3a938 100644
--- a/libc/startup/gpu/amdgpu/start.cpp
+++ b/libc/startup/gpu/amdgpu/start.cpp
@@ -17,7 +17,7 @@ extern "C" int main(int argc, char **argv, char **envp);
namespace LIBC_NAMESPACE_DECL {
-// FIXME: Factor this out into common logic so we don't need to stub it here.
+// FIXME: Factor this out into common logic so we don't need to stub it here.
void teardown_main_tls() {}
DataEnvironment app;
diff --git a/libc/startup/gpu/nvptx/start.cpp b/libc/startup/gpu/nvptx/start.cpp
index 5bd8a9486e..bc529b36f5 100644
--- a/libc/startup/gpu/nvptx/start.cpp
+++ b/libc/startup/gpu/nvptx/start.cpp
@@ -19,7 +19,7 @@ namespace LIBC_NAMESPACE_DECL {
DataEnvironment app;
-// FIXME: Factor this out into common logic so we don't need to stub it here.
+// FIXME: Factor this out into common logic so we don't need to stub it here.
void teardown_main_tls() {}
extern "C" {
``````````
</details>
https://github.com/llvm/llvm-project/pull/108267
More information about the libc-commits
mailing list