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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@287357 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/Tools.cpp

index 2272a002e7bb8eaa9c5b10fa7d2b3db011cc1565..f5295f3eb103983cdc1493259d9c51a46140f111 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),