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

Zheng Qian via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 4 14:10:28 PDT 2023


qianzhen updated this revision to Diff 537175.
qianzhen added a comment.

Update to address review comments


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150221

Files:
  clang/include/clang/Basic/CodeGenOptions.def
  clang/include/clang/Driver/Options.td
  clang/lib/CodeGen/CGDecl.cpp
  clang/lib/CodeGen/CodeGenModule.cpp
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/test/CodeGen/keep-persistent-storage-variables.cpp
  clang/test/Driver/fkeep-persistent-storage-variables.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150221.537175.patch
Type: text/x-patch
Size: 6905 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230704/5e6fbeec/attachment-0001.bin>


More information about the cfe-commits mailing list