From: Adam Nemet Date: Fri, 18 Nov 2016 18:17:33 +0000 (+0000) Subject: Fix a comment for -fsave-optimization-record X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1c5bf7989d590557c9ad3503336545eebd13bc81;p=clang Fix a comment for -fsave-optimization-record Differential Revision: https://reviews.llvm.org/D26807 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@287357 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index 2272a002e7..f5295f3eb1 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -6225,7 +6225,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, 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),