[PATCH] D40925: Add option -fkeep-static-consts

Elizabeth Andrews via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 18 08:14:12 PST 2018


eandrews added a comment.

That makes sense. Is it not possible to implement the required functionality using a flag vs an attribute? In an earlier comment you mentioned adding the global to @llvm.used to prevent GlobalDCE from removing it. Can you not do that when using a flag?


https://reviews.llvm.org/D40925





More information about the cfe-commits mailing list