[PATCH] [lld][core] sectionGroup support.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Feb 27 14:59:46 PST 2014


> From what I understand, there is nothing special about signature
> symbols. They are just a way to give a name to a group and participate
> in linking as normal.

Correct. They may or may not also name a "real" object (a function for example).

> Are you saying that we have a separate table that represents groups in
> addition to leaving all the symbols in the normal symbol table?

You can also leave out of the regular table symbols that are only used
for groups I think (like the _ZN3barC5Ev in the above example).

> Group resolution seems to only matter for comdat groups. Non-comdat
> groups just need references to properly model dead stripping.

Are non-comdat groups used? The standard just reserves them for
platform specific. But yes, I guess non-comdat groups can basically be
ignored.

Cheers,
Rafael



More information about the llvm-commits mailing list