[PATCH] D17952: [Clang] Accept absolute paths in the -fuse-ld option
    whitequark via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Mon Mar  7 19:31:59 PST 2016
    
    
  
whitequark marked an inline comment as done.
================
Comment at: cfe/trunk/lib/Driver/ToolChain.cpp:352
@@ +351,3 @@
+        return UseLinker;
+    } else {
+      // If we're passed -fuse-ld= with no argument, or with the argument ld,
----------------
silvas wrote:
> No need for else after return.
This would change behavior when an absolute path is passed but doesn't exist; clang will try to append it to "ld." and display some silly error message.
Repository:
  rL LLVM
http://reviews.llvm.org/D17952
    
    
More information about the cfe-commits
mailing list