diff options
author | Elizabeth Andrews <elizabeth.andrews@intel.com> | 2018-08-22 19:05:19 +0000 |
---|---|---|
committer | Elizabeth Andrews <elizabeth.andrews@intel.com> | 2018-08-22 19:05:19 +0000 |
commit | 6593df241a1d119c84c0d97eec4486d2756c4ea1 (patch) | |
tree | b1d997c87f625efb40506492feb4bafb29aab48d /llvm/lib/Analysis/AliasSetTracker.cpp | |
parent | bc6d8970bb6ec44e1a0c8015a803fa382953dfa4 (diff) | |
download | bcm5719-llvm-6593df241a1d119c84c0d97eec4486d2756c4ea1.tar.gz bcm5719-llvm-6593df241a1d119c84c0d97eec4486d2756c4ea1.zip |
Currently clang does not emit unused static constants. GCC emits these
constants by default when there is no optimization.
GCC's option -fno-keep-static-consts can be used to not emit
unused static constants.
In Clang, since default behavior does not keep unused static constants,
-fkeep-static-consts can be used to emit these if required. This could be
useful for producing identification strings like SVN identifiers
inside the object file even though the string isn't used by the program.
Differential Revision: https://reviews.llvm.org/D40925
llvm-svn: 340439
Diffstat (limited to 'llvm/lib/Analysis/AliasSetTracker.cpp')
0 files changed, 0 insertions, 0 deletions