[PATCH] D18127: Remove compile time PreserveName in favor of a runtime cc1 -discard-value-names option
Mehdi AMINI via cfe-commits
cfe-commits at lists.llvm.org
Sat Mar 12 22:12:29 PST 2016
joker.eph updated this revision to Diff 50541.
joker.eph added a comment.
Use cc1 in the few tests that were relying on value names. Also add test/CodeGenCXX/discard-name-values.cpp to test the new cc1 flag.
http://reviews.llvm.org/D18127
Files:
include/clang/Driver/CC1Options.td
include/clang/Frontend/CodeGenOptions.def
lib/CodeGen/CGBuilder.h
lib/CodeGen/CGCall.cpp
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/ModuleBuilder.cpp
lib/Driver/Tools.cpp
lib/Frontend/CompilerInvocation.cpp
test/CodeGen/mips-byval-arg.c
test/CodeGen/mips-vector-arg.c
test/CodeGen/mips-zero-sized-struct.c
test/CodeGen/mips64-class-return.cpp
test/CodeGen/mips64-padding-arg.c
test/CodeGenCXX/debug-info-class.cpp
test/CodeGenCXX/discard-name-values.cpp
test/CodeGenCXX/stack-reuse.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18127.50541.patch
Type: text/x-patch
Size: 14262 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160313/aa1b5087/attachment-0001.bin>
More information about the cfe-commits
mailing list