From 62ff7bab720d954c0c2e3bb4d984446e3f5e9e5a Mon Sep 17 00:00:00 2001 From: Adam Nemet Date: Fri, 18 Nov 2016 18:17:33 +0000 Subject: [PATCH] Fix a comment for -fsave-optimization-record Differential Revision: https://reviews.llvm.org/D26807 llvm-svn: 287357 --- clang/lib/Driver/Tools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp index 2272a00..f5295f3 100644 --- a/clang/lib/Driver/Tools.cpp +++ b/clang/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), -- 2.7.4