[lld] 7a05c09 - [LLD] [COFF] Fix option name references in Config.h. NFC.

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 4 13:37:17 PST 2024


Author: Martin Storsjö
Date: 2024-01-04T23:36:54+02:00
New Revision: 7a05c0931f1a0ade9abc447c872a3cc7c8a37dd1

URL: https://github.com/llvm/llvm-project/commit/7a05c0931f1a0ade9abc447c872a3cc7c8a37dd1
DIFF: https://github.com/llvm/llvm-project/commit/7a05c0931f1a0ade9abc447c872a3cc7c8a37dd1.diff

LOG: [LLD] [COFF] Fix option name references in Config.h. NFC.

These options have been named /lldltocache: and
/lldltocachepolicy: since they were added in
052e855e2bea78dcfbb2807acee829b56d56a729; the comment was
wrong from the original commit.

Added: 
    

Modified: 
    lld/COFF/Config.h

Removed: 
    


################################################################################
diff  --git a/lld/COFF/Config.h b/lld/COFF/Config.h
index 48c48cefe91d8e..018f03b211e422 100644
--- a/lld/COFF/Config.h
+++ b/lld/COFF/Config.h
@@ -186,9 +186,9 @@ struct Configuration {
   // Used for /opt:lldltopartitions=N
   unsigned ltoPartitions = 1;
 
-  // Used for /opt:lldltocache=path
+  // Used for /lldltocache=path
   StringRef ltoCache;
-  // Used for /opt:lldltocachepolicy=policy
+  // Used for /lldltocachepolicy=policy
   llvm::CachePruningPolicy ltoCachePolicy;
 
   // Used for /opt:[no]ltodebugpassmanager


        


More information about the llvm-commits mailing list