ruiu added a comment.

I'm totally against adding per-OS path knowledge to our linker. Compilers 
already know include paths and I don't want to maintain another list of paths 
in the linker. Also this can be more confusing than useful when you are doing 
cross-linking.

For all OSes other than NetBSD, LLD works fine with the clang driver as the 
driver passes include paths to the linker. I don't see any reason not to do the 
same thing for NetBSD. That stands even if the linker has to have a list of 
include paths.


Repository:
  rL LLVM

https://reviews.llvm.org/D33726



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to