MaskRay added a comment.

GCC has -fkeep-static-consts (which Clang supports) but not 
-fkeep-static-variables.

> This could be useful in cases where the presence of all static variables as 
> symbols in the object file are required.

Can you give a more compelling reason that this option is needed?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150221

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to