r287357 - Fix a comment for -fsave-optimization-record
Adam Nemet via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 18 10:17:33 PST 2016
Author: anemet
Date: Fri Nov 18 12:17:33 2016
New Revision: 287357
URL: http://llvm.org/viewvc/llvm-project?rev=287357&view=rev
Log:
Fix a comment for -fsave-optimization-record
Differential Revision: https://reviews.llvm.org/D26807
Modified:
cfe/trunk/lib/Driver/Tools.cpp
Modified: cfe/trunk/lib/Driver/Tools.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=287357&r1=287356&r2=287357&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Fri Nov 18 12:17:33 2016
@@ -6225,7 +6225,7 @@ void Clang::ConstructJob(Compilation &C,
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),
More information about the cfe-commits
mailing list