[PATCH] D29104: Add !associated metadata.

Evgeniy Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 24 18:26:31 PST 2017


eugenis added a comment.

> I also don't think that adding metadata that are "correctness related" is a good thing in general.

Yeah. This could be a global flag. But we already have !type metadata which is correctness related.

OK. We can start with !associated that does not affect DCE. Its only effect would be setting SHF_ASSOCIATED on the ELF section. ASan would add all "metadata" globals to llvm.compiler.used.


Repository:
  rL LLVM

https://reviews.llvm.org/D29104





More information about the llvm-commits mailing list