[lld] e091a66 - [lld][ELF] Update name of function in comment. NFC

Sam Clegg via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 28 07:31:08 PDT 2021


Author: Sam Clegg
Date: 2021-10-28T07:29:43-07:00
New Revision: e091a66cb7a4399986f6fc2aeb8bcbd384ac45b6

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

LOG: [lld][ELF] Update name of function in comment. NFC

This function was renamed in https://reviews.llvm.org/D62291.

Added: 
    

Modified: 
    lld/ELF/Driver.cpp

Removed: 
    


################################################################################
diff  --git a/lld/ELF/Driver.cpp b/lld/ELF/Driver.cpp
index 773e288dec36a..14d740dfd8aca 100644
--- a/lld/ELF/Driver.cpp
+++ b/lld/ELF/Driver.cpp
@@ -2334,7 +2334,7 @@ template <class ELFT> void LinkerDriver::link(opt::InputArgList &args) {
 
   // If --thinlto-index-only is given, we should create only "index
   // files" and not object files. Index file creation is already done
-  // in addCombinedLTOObject, so we are done if that's the case.
+  // in compileBitcodeFiles, so we are done if that's the case.
   // Likewise, --plugin-opt=emit-llvm and --plugin-opt=emit-asm are the
   // options to create output files in bitcode or assembly code
   // respectively. No object files are generated.


        


More information about the llvm-commits mailing list