Fix a comment for -fsave-optimization-record
authorAdam Nemet <anemet@apple.com>
Fri, 18 Nov 2016 18:17:33 +0000 (18:17 +0000)
committerAdam Nemet <anemet@apple.com>
Fri, 18 Nov 2016 18:17:33 +0000 (18:17 +0000)
Differential Revision: https://reviews.llvm.org/D26807

llvm-svn: 287357

clang/lib/Driver/Tools.cpp

index 2272a00..f5295f3 100644 (file)
@@ -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),