Displaying 3 results from an estimated 3 matches for "appendtoglobal".
2014 Jul 30
2
[LLVMdev] Inconsistent third field in global_ctors (was Re: [llvm] r214321 - UseListOrder: Visit global values)
...'s not "old-style" exactly; rejecting this
isn't trivial.
- According to LangRef, the third field is optional [1].
[1]: http://llvm.org/docs/LangRef.html#the-llvm-global-ctors-global-variable
- It was added in r209015 to support comdat keys.
- The helper functions `llvm::appendToGlobalCtors()` and
`llvm::appendToGlobalDtors()` (in ModuleUtils.cpp) will by default
set up the two-field version.
- Despite the field being optional (and the API defaulting to the
short version), the BitcodeReader auto-upgrades to the 3-element
version.
It looks to me like `@llvm.glo...
2014 Jul 31
2
[LLVMdev] Inconsistent third field in global_ctors (was Re: [llvm] r214321 - UseListOrder: Visit global values)
...>
> > - According to LangRef, the third field is optional [1].
> >
> > [1]:
> http://llvm.org/docs/LangRef.html#the-llvm-global-ctors-global-variable
> >
> > - It was added in r209015 to support comdat keys.
> >
> > - The helper functions `llvm::appendToGlobalCtors()` and
> > `llvm::appendToGlobalDtors()` (in ModuleUtils.cpp) will by default
> > set up the two-field version.
> >
> > - Despite the field being optional (and the API defaulting to the
> > short version), the BitcodeReader auto-upgrades to the 3-ele...
2014 Jul 31
2
[LLVMdev] Inconsistent third field in global_ctors (was Re: [llvm] r214321 - UseListOrder: Visit global values)
...f, the third field is optional [1].
>>>>
>>>> [1]: http://llvm.org/docs/LangRef.html#the-llvm-global-ctors-global-variable
>>>>
>>>> - It was added in r209015 to support comdat keys.
>>>>
>>>> - The helper functions `llvm::appendToGlobalCtors()` and
>>>> `llvm::appendToGlobalDtors()` (in ModuleUtils.cpp) will by default
>>>> set up the two-field version.
>>>>
>>>> - Despite the field being optional (and the API defaulting to the
>>>> short version), the BitcodeR...