commit | aa2487dac0ed5fdba61a36724565645053238433 | [log] [tgz] |
---|---|---|
author | Caslyn Tonelli <caslyn@google.com> | Mon Feb 24 14:37:44 2025 -0800 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Feb 24 14:37:44 2025 -0800 |
tree | 71cc08321b8b40193169e42bd9b0e4aec6e6ea92 | |
parent | c5c70274c302da376d406e1aae1de2467cea4418 [diff] |
[ld][test] Add constinit to thread_local decls This CL adds constinit on thread_local declarations and definitions so the compiler will know that it doesn't have a runtime ctor and will not generate an unnecessary guard boolean for initialization of the tls variable. Bug: 342480690 Cq-Include-Trybots: luci.turquoise.global.try:run-postsubmit-tryjobs Change-Id: If206f8a23093323e894c7ff47317e53766985e32 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1213227 Fuchsia-Auto-Submit: Caslyn Tonelli <caslyn@google.com> Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> Reviewed-by: Roland McGrath <mcgrathr@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.