[PATCH] D28481: Respect section groups in GC
Rafael Avila de Espindola via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 11 15:01:41 PST 2017
Peter Collingbourne <peter at pcc.me.uk> writes:
> Another possibility would be to introduce a section flag that means that a
> section should *not* be treated as a GC root. Then ASan can emit a
> R_X86_64_NONE relocation to introduce a dependency from the global section
> to the metadata section. We could even hypothetically teach LLVM to put
> that flag on .init_array sections for constructors that are known not to
> have side effects.
I like it :-)
Cheers,
Rafael
More information about the llvm-commits
mailing list