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

Adam Nemet via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 18 10:27:32 PST 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL287357: Fix a comment for -fsave-optimization-record (authored by anemet).

Changed prior to commit:
  https://reviews.llvm.org/D26807?vs=78389&id=78551#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D26807

Files:
  cfe/trunk/lib/Driver/Tools.cpp


Index: cfe/trunk/lib/Driver/Tools.cpp
===================================================================
--- cfe/trunk/lib/Driver/Tools.cpp
+++ cfe/trunk/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.78551.patch
Type: text/x-patch
Size: 536 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161118/555a4a4f/attachment.bin>


More information about the cfe-commits mailing list