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

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 17 14:42:11 PST 2018


rnk added a comment.

OK. My concern is that users need to use `__attribute__((used))` or something more robust if they want SVN identifiers to reliably appear in the output. Adding this flag just creates a trap that will fail once they turn on `-O2`. I'd rather not have it in the interface to avoid that user confusion.


https://reviews.llvm.org/D40925





More information about the cfe-commits mailing list