[PATCH] [Driver] Add -L and -l support.

kledzik at apple.com kledzik at apple.com
Mon Feb 4 15:34:51 PST 2013



================
Comment at: include/lld/Core/LinkerOptions.h:37
@@ -36,2 +36,3 @@
   Object,
+  Library,
   LLVM,
----------------
This file has no comments.  Can you add some to explain the reason for InputKind?  

Should static and dynamic libraries have a different enum?  

It sort of looks like "Library" really means "search for it via -L options".  For instance on darwin we link with -lcrt1.o but crt1.o is an object file which happens to be found via library search paths.


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



More information about the llvm-commits mailing list