[LLVMdev] Appending linkage
eli.friedman at gmail.com
Thu Dec 10 01:05:19 PST 2009
On Thu, Dec 10, 2009 at 12:26 AM, Robin Sommer <robinsommer at web.de> wrote:
> On Sat, Dec 05, 2009 at 22:56 -0800, I wrote:
>> the LLVM documentation lists the 'appending' linkage for having the
>> linker combine two arrays. I'm wondering though if it's then
>> possible to get the size of the combined array, e.g., for iterating
>> over its elements? Or how would I otherwise use the combined array?
> Any thoughts on this? Am I missing something?
Appending linkage isn't really intended for normal code; the most
common uses are for special globals, like "llvm.used" and
"llvm.global_ctors", which use compiler magic to work properly.
More information about the llvm-dev