summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/attr-tls_model.c
Commit message (Collapse)AuthorAgeFilesLines
* err_attribute_not_string has been subsumed by err_attribute_argument_type.Aaron Ballman2013-07-301-1/+1
| | | | llvm-svn: 187400
* Added the attribute name to the err_attribute_wrong_number_arguments ↵Aaron Ballman2013-07-231-1/+1
| | | | | | | | diagnostic for clarity; updated almost all of the affected test cases. Thanks to Fariborz Jahanian for the suggestion! llvm-svn: 186980
* Add triple to test/Sema/attr-tls_model.cHans Wennborg2012-06-231-1/+1
| | | | | | Not all targets support __thread variables. llvm-svn: 159080
* Support the tls_model attribute (PR9788)Hans Wennborg2012-06-231-0/+14
This adds support for the tls_model attribute. This allows the user to choose a TLS model that is better than what LLVM would select by default. For example, a variable might be declared as: __thread int x __attribute__((tls_model("initial-exec"))); if it will not be used in a shared library that is dlopen'ed. This depends on LLVM r159077. llvm-svn: 159078
OpenPOWER on IntegriCloud