[PATCH] D35917: [mips] Implement -muninit-const-in-rodata

Simon Dardis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 26 14:32:32 PDT 2017


sdardis created this revision.
Herald added a subscriber: arichardson.

This option when combined with -mgpopt and -membedded-data places all
uninitialized constant variables in the read-only section.


https://reviews.llvm.org/D35917

Files:
  include/clang/Driver/Options.td
  include/clang/Frontend/CodeGenOptions.def
  lib/CodeGen/TargetInfo.cpp
  lib/Driver/ToolChains/Clang.cpp
  lib/Frontend/CompilerInvocation.cpp
  test/CodeGen/mips-uninit-const-in-ro.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35917.108359.patch
Type: text/x-patch
Size: 4815 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170726/616db67f/attachment.bin>


More information about the cfe-commits mailing list