/llvm-project/clang/test/Sema/ |
H A D | attr-tls_model.c | 3 #if !__has_attribute(tls_model) 7 int f(void) __attribute((tls_model("global-dynamic"))); // expected-error {{'tls_model' attribute o… 9 int x __attribute((tls_model("global-dynamic"))); // expected-error {{'tls_model' attribute only ap… 10 static __thread int y __attribute((tls_model("global-dynamic"))); // no-warning 12 static __thread int y __attribute((tls_model("local", "dynamic"))); // expected-error {{'tls_model'… 13 static __thread int y __attribute((tls_model(123))); // expected-error {{expected string literal as… 14 static __thread int y __attribute((tls_model("foobar"))); // expected-error {{tls_model must be "gl…
|
H A D | aix-attr-tls_model.c | 4 #if !__has_attribute(tls_model) 8 static __thread int y __attribute((tls_model("global-dynamic"))); // no-warning 9 static __thread int y __attribute((tls_model("local-dynamic"))); // expected-no-diagnostics 10 static __thread int y __attribute((tls_model("initial-exec"))); // no-warning 11 static __thread int y __attribute((tls_model("local-exec"))); // no-warning
|
/llvm-project/clang/test/CodeGen/ |
H A D | thread-specifier.c | 27 __thread int g __attribute__((tls_model("global-dynamic"))); 28 __thread int h __attribute__((tls_model("local-dynamic"))); 29 __thread int i __attribute__((tls_model("initial-exec"))); 30 __thread int j __attribute__((tls_model("local-exec"))); 33 __thread static int a __attribute__((tls_model("initial-exec"))); in f()
|
H A D | tls-model.cpp | 17 int __thread __attribute__((tls_model("initial-exec"))) z;
|
/llvm-project/compiler-rt/test/tsan/Linux/ |
H A D | dlopen_static_tls.cpp | 31 __attribute__((tls_model("initial-exec"))) __thread char x = 42; 32 __attribute__((tls_model("initial-exec"))) __thread char y;
|
/llvm-project/clang/test/SemaCXX/ |
H A D | cxx11-gnu-attrs.cpp | 40 __thread int tls_model [[gnu::tls_model("local-exec")]]; variable
|
/llvm-project/compiler-rt/lib/gwp_asan/ |
H A D | definitions.h | 13 __thread __attribute__((tls_model("initial-exec")))
|
/llvm-project/clang/test/AST/ |
H A D | ast-dump-attr-json.cpp | 22 __thread __attribute__ ((tls_model ("local-exec"))) int tls_model_var;
|
/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerPlatform.h | 130 ATTRIBUTE_INTERFACE __attribute__((tls_model("initial-exec"))) thread_local
|
/llvm-project/compiler-rt/lib/lsan/ |
H A D | lsan_common_linux.cpp | 42 __attribute__((tls_model("initial-exec")))
|
H A D | lsan_common_fuchsia.cpp | 35 __attribute__((tls_model("initial-exec"))) THREADLOCAL int disable_counter;
|
/llvm-project/compiler-rt/lib/tsan/dd/ |
H A D | dd_interceptors.cpp | 18 __attribute__((tls_model("initial-exec"))) 20 __attribute__((tls_model("initial-exec")))
|
/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_tls_get_addr.cpp | 33 __attribute__((tls_model("initial-exec")))
|
H A D | sanitizer_mutex.cpp | 217 __attribute__((tls_model("initial-exec"))) static THREADLOCAL
|
/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_fuchsia.cpp | 30 [[gnu::tls_model("initial-exec")]]
|
/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_rtl.h | 246 __attribute__((tls_model("initial-exec")))
|
H A D | tsan_rtl.cpp | 51 alignas(SANITIZER_CACHE_LINE_SIZE) THREADLOCAL __attribute__((tls_model(
|
/llvm-project/llvm/tools/llvm-rtdyld/ |
H A D | llvm-rtdyld.cpp | 354 alignas(16) __attribute__((visibility("hidden"), tls_model("initial-exec"),
|
/llvm-project/llvm/lib/Support/rpmalloc/ |
H A D | rpmalloc.c | 862 #define TLS_MODEL __attribute__((tls_model("initial-exec")))
|
/llvm-project/clang/include/clang/Basic/ |
H A D | Attr.td | 930 let Spellings = [GCC<"tls_model">];
|
H A D | AttrDocs.td | 174 The ``tls_model`` attribute allows you to specify which thread-local storage
|
H A D | DiagnosticSemaKinds.td | 3555 def err_attr_tlsmodel_arg : Error<"tls_model must be \"global-dynamic\", "
|
/llvm-project/clang/include/clang/Driver/ |
H A D | Options.td | 6770 defm tls_model : BooleanFFlag<"tls-model">, Group<clang_ignored_f_Group>;
|
/llvm-project/llvm/docs/ |
H A D | LangRef.rst | 803 :ref:`Thread Local Storage Model <tls_model>`. 970 <dllstorageclass>` and an optional :ref:`tls model <tls_model>`. 582 .. _tls_model: global() target [all...] |