This revision was automatically updated to reflect the committed changes. Closed by commit rL287357: Fix a comment for -fsave-optimization-record (authored by anemet).
Changed prior to commit: https://reviews.llvm.org/D26807?vs=78389&id=78551#toc Repository: rL LLVM https://reviews.llvm.org/D26807 Files: cfe/trunk/lib/Driver/Tools.cpp Index: cfe/trunk/lib/Driver/Tools.cpp =================================================================== --- cfe/trunk/lib/Driver/Tools.cpp +++ cfe/trunk/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: cfe/trunk/lib/Driver/Tools.cpp =================================================================== --- cfe/trunk/lib/Driver/Tools.cpp +++ cfe/trunk/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