[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 18:00:46 PST 2016
    
    
  
joker.eph created this revision.
joker.eph added reviewers: echristo, chandlerc.
joker.eph added a subscriber: cfe-commits.
This flag is enabled by default in the driver when NDEBUG is set. It
is forwarded on the LLVMContext to discard all value names (but
GlobalValue) for performance purpose.
This an improved version of D18024
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/stack-reuse.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18127.50535.patch
Type: text/x-patch
Size: 17281 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160313/4d4b3128/attachment-0001.bin>
    
    
More information about the cfe-commits
mailing list