[PATCH] D26807: Fix a comment for -fsave-optimization-record

Adam Nemet via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 17 10:42:07 PST 2016


anemet created this revision.
anemet added a reviewer: hfinkel.
anemet added a subscriber: cfe-commits.

https://reviews.llvm.org/D26807

Files:
  lib/Driver/Tools.cpp


Index: lib/Driver/Tools.cpp
===================================================================
--- lib/Driver/Tools.cpp
+++ lib/Driver/Tools.cpp
@@ -6225,7 +6225,7 @@
                                   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),


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26807.78389.patch
Type: text/x-patch
Size: 506 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161117/ff5202e5/attachment.bin>


More information about the cfe-commits mailing list