search for: image_comdat_select_

Displaying 3 results from an estimated 3 matches for "image_comdat_select_".

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...
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 spo...
2013 Sep 03
2
[LLVMdev] Proposal: Adding an optional association field to llvm.global_ctors
...; 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 >> pro...