[PATCH] D150221: Add option -fkeep-static-variables to emit all static variables

Hubert Tong via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 9 13:18:37 PDT 2023


hubert.reinterpretcast added a comment.

In D150221#4330504 <https://reviews.llvm.org/D150221#4330504>, @MaskRay wrote:

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

This is intended to prevent "excessive transformation" to enable migration of existing applications (using a non-Clang compiler) where users further manipulate the object or assembly after compilation.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150221



More information about the cfe-commits mailing list