[cfe-commits] r132630 - /cfe/trunk/include/clang/Driver/Options.td

Nick Lewycky nicholas at mxc.ca
Fri Jun 3 23:48:26 PDT 2011


Author: nicholas
Date: Sat Jun  4 01:48:26 2011
New Revision: 132630

URL: http://llvm.org/viewvc/llvm-project?rev=132630&view=rev
Log:
GCC passes -z foo directly through to the linker (and yes -z=foo becomes
"-z =foo"). Do the same thing in clang.

Modified:
    cfe/trunk/include/clang/Driver/Options.td

Modified: cfe/trunk/include/clang/Driver/Options.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/Options.td?rev=132630&r1=132629&r2=132630&view=diff
==============================================================================
--- cfe/trunk/include/clang/Driver/Options.td (original)
+++ cfe/trunk/include/clang/Driver/Options.td Sat Jun  4 01:48:26 2011
@@ -679,6 +679,7 @@
   HelpText<"Treat subsequent input files as having type <language>">,
   MetaVarName<"<language>">;
 def y : Joined<"-y">;
+def z : JoinedOrSeparate<"-z">, Flags<[LinkerInput, RenderSeparate]>;
 
 def working_directory : Separate<"-working-directory">,
   HelpText<"Resolve file paths relative to the specified directory">;





More information about the cfe-commits mailing list