[PATCH] [lld] add InputGraph to process Command line arguments

Shankar Kalpathi Easwaran shankarke at gmail.com
Tue Aug 20 16:14:19 PDT 2013



================
Comment at: lib/Driver/DarwinLdDriver.cpp:159
@@ +158,3 @@
+                    << "'\n";
+        return true;
+      }
----------------
kledzik at apple.com wrote:
> Can you change the Darwin Driver back to how it was, except handle OPT_INPUT using InputGraph.   The above changes how options are processed.   The current Driver uses getLastArg() in a certain order because the options are not independent.  For instance the output kind (e.g. dylib) could be at the end of the command line, but it effects how earlier options are treated.  The above for-loop loses that ability by processing them in order.
Thanks for the info, Will do the change.


http://llvm-reviews.chandlerc.com/D1217



More information about the llvm-commits mailing list