search for: image_comdat_select_associ

Displaying 2 results from an estimated 2 matches for "image_comdat_select_associ".

2013 Aug 26
2
[LLVMdev] Proposal: Adding an optional association field to llvm.global_ctors
...ass template instantiations can have initializers that must only run once on program startup. Itanium solves this with guard variables and the emission of multiple initializers, only one of which actually initializes the data at runtime. Microsoft solves this by using a COFF comdat feature called IMAGE_COMDAT_SELECT_ASSOCIATIVE. The semantics are that the section with this attribute is only linked if the associated section is chosen for the final link. Otherwise it is discarded. In this way, only one initializer is linked and only one entry is produced in the initializer array (.CRT$XCU). Everyone I've spoken wi...
2013 Sep 02
0
[LLVMdev] Proposal: Adding an optional association field to llvm.global_ctors
...an have initializers that > must only run once on program startup. Itanium solves this with guard variables > and the emission of multiple initializers, only one of which actually > initializes the data at runtime. > > Microsoft solves this by using a COFF comdat feature called > IMAGE_COMDAT_SELECT_ASSOCIATIVE. The semantics are that the section with this > attribute is only linked if the associated section is chosen for the final link. > Otherwise it is discarded. > > In this way, only one initializer is linked and only one entry is produced in > the initializer array (.CRT$XCU). Eve...