[PATCH] D96837: Add !retain metadata to retain global values under linker garbage collection

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 24 13:17:24 PST 2021


MaskRay added a comment.

@rnk I posted https://lists.llvm.org/pipermail/llvm-dev/2021-February/148760.html . This patch implements approach 2. If we do approach 1, we don't need this metadata. What do you think of the tradeoff?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96837/new/

https://reviews.llvm.org/D96837



More information about the llvm-commits mailing list