Changeset 7f6a7c9 for src/InitTweak/InitTweak.cc
- Timestamp:
- Sep 21, 2022, 11:02:15 AM (3 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation
- Children:
- 95dab9e
- Parents:
- 428adbc (diff), 0bd46fd (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/InitTweak.cc
r428adbc r7f6a7c9 1241 1241 static const char * const tlsd_section = ".tdata" ASM_COMMENT; 1242 1242 void addDataSectionAttribute( ObjectDecl * objDecl ) { 1243 const bool is_tls = objDecl->get_storageClasses().is_threadlocal ;1243 const bool is_tls = objDecl->get_storageClasses().is_threadlocal_any(); 1244 1244 const char * section = is_tls ? tlsd_section : data_section; 1245 1245 objDecl->attributes.push_back(new Attribute("section", { … … 1249 1249 1250 1250 void addDataSectionAttribute( ast::ObjectDecl * objDecl ) { 1251 const bool is_tls = objDecl->storage.is_threadlocal ;1251 const bool is_tls = objDecl->storage.is_threadlocal_any(); 1252 1252 const char * section = is_tls ? tlsd_section : data_section; 1253 1253 objDecl->attributes.push_back(new ast::Attribute("section", {
Note:
See TracChangeset
for help on using the changeset viewer.