Displaying 4 results from an estimated 4 matches for "_global_i_a".
Did you mean:
_global__i_a
2013 Sep 03
2
[LLVMdev] Proposal: Adding an optional association field to llvm.global_ctors
...tions reused
for two globals in the same TU?
Even today, every global with a dynamic initializer gets its own void()
initialization function. We don't use a single function to initialize
everything.
We need to enforce an ordering on initializers in a single TU, so we have a
function (usually _GLOBAL_I_a) which calls each stub in turn. After
inlining, most stubs are probably eliminated.
> Thanks, Duncan.
>
> Similarly, on
>
>> targets supporting this feature (COFF for the moment, but maybe ELF one
>> day as
>> an optimization), LLVM will emit the appropriate comdat...
2013 Sep 02
0
[LLVMdev] Proposal: Adding an optional association field to llvm.global_ctors
Hi Reid,
On 26/08/13 23:43, Reid Kleckner wrote:
> To implement http://llvm.org/PR16959
> <http://llvm.org/bugs/show_bug.cgi?id=16959>, I need to add a new field to
> global_ctors.
>
> Static data members of class template instantiations can have initializers that
> must only run once on program startup. Itanium solves this with guard variables
> and the emission of
2013 Sep 04
0
[LLVMdev] Proposal: Adding an optional association field to llvm.global_ctors
...field meaning: collapse multiple instances of this initialization
function. In fact, maybe it is always OK to remove duplicate initialization
functions in llvm.global_ctors?
Ciao, Duncan.
>
> We need to enforce an ordering on initializers in a single TU, so we have a
> function (usually _GLOBAL_I_a) which calls each stub in turn. After inlining,
> most stubs are probably eliminated.
>
> Thanks, Duncan.
>
> Similarly, on
>
> targets supporting this feature (COFF for the moment, but maybe ELF one
> day as
> an optimization), LLVM wil...
2013 Aug 26
2
[LLVMdev] Proposal: Adding an optional association field to llvm.global_ctors
To implement http://llvm.org/PR16959<http://llvm.org/bugs/show_bug.cgi?id=16959>,
I need to add a new field to global_ctors.
Static data members of class 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.