anemet created this revision. anemet added a reviewer: hfinkel. anemet added a subscriber: cfe-commits.
https://reviews.llvm.org/D26807 Files: lib/Driver/Tools.cpp Index: lib/Driver/Tools.cpp =================================================================== --- lib/Driver/Tools.cpp +++ lib/Driver/Tools.cpp @@ -6225,7 +6225,7 @@ Args.hasArg(options::OPT_S))) { F = Output.getFilename(); } else { - // Use the compilation directory. + // Use the input filename. F = llvm::sys::path::stem(Input.getBaseInput()); // If we're compiling for an offload architecture (i.e. a CUDA device),
Index: lib/Driver/Tools.cpp =================================================================== --- lib/Driver/Tools.cpp +++ lib/Driver/Tools.cpp @@ -6225,7 +6225,7 @@ Args.hasArg(options::OPT_S))) { F = Output.getFilename(); } else { - // Use the compilation directory. + // Use the input filename. F = llvm::sys::path::stem(Input.getBaseInput()); // If we're compiling for an offload architecture (i.e. a CUDA device),
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits