[PATCH] D42975: Store only argv[0] in Config

Rafael Avila de Espindola via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 6 13:32:33 PST 2018


espindola updated this revision to Diff 133068.
espindola retitled this revision from "Don't store the full Argv in Config" to "Store only argv[0] in Config".
espindola added a comment.

Having just the program name in Config might be the sweet spot. It is easy to access and we are sure that the rest of argv cannot be used outside of the driver.


https://reviews.llvm.org/D42975

Files:
  ELF/Config.h
  ELF/Driver.cpp
  ELF/Driver.h
  ELF/DriverUtils.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42975.133068.patch
Type: text/x-patch
Size: 3938 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180206/344064da/attachment.bin>


More information about the llvm-commits mailing list