search for: appendtoglobaldtor

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

Did you mean: appendtoglobaldtors
2014 Jul 30
2
[LLVMdev] Inconsistent third field in global_ctors (was Re: [llvm] r214321 - UseListOrder: Visit global values)
...ly; 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.global_ctors` and `@llvm.global_dtors` are in...
2014 Jul 31
2
[LLVMdev] Inconsistent third field in global_ctors (was Re: [llvm] r214321 - UseListOrder: Visit global values)
...rd 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 l...
2014 Jul 31
2
[LLVMdev] Inconsistent third field in global_ctors (was Re: [llvm] r214321 - UseListOrder: Visit global values)
...>>>> [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 >>>> v...