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

kledzik at apple.com kledzik at apple.com
Tue Aug 20 16:09:42 PDT 2013



================
Comment at: lib/Driver/DarwinLdDriver.cpp:159
@@ +158,3 @@
+                    << "'\n";
+        return true;
+      }
----------------
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.


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



More information about the llvm-commits mailing list