commit | a95ef2fd5eea4e072acb98191dc41d79c8bba251 | [log] [tgz] |
---|---|---|
author | Siva Chandra Reddy <sivachandra@google.com> | Thu May 25 19:29:19 2023 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Thu May 25 12:56:02 2023 -0700 |
tree | 0393824b13d242681962847ec9ee6b4fe70fa3b6 | |
parent | 4d5abf2a2645f5818e494993aa2bd72f376050f6 [diff] |
[libc] Add macro LIBC_THREAD_LOCAL. It resolves to thread_local on all platform except for the GPUs on which it resolves to nothing. The use of thread_local in the source code has been replaced with the new macro. Reviewed By: jhuber6 Differential Revision: https://reviews.llvm.org/D151486 GitOrigin-RevId: daeee56798c51e8f007e8e8e6e677a420b14c9ef