[lld] [lld][COFF] Fix: Merge `.drectve` sections in ObjFile::readSections (PR #86380)
    Alexandre Ganea via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sun Mar 24 18:32:13 PDT 2024
    
    
  
================
@@ -86,8 +86,8 @@ class LinkerDriver {
 
   void addClangLibSearchPaths(const std::string &argv0);
 
-  // Used by the resolver to parse .drectve section contents.
-  void parseDirectives(InputFile *file);
+  // Used by the resolver to iterate through .drectve section(s).
+  void processDrectveSections(InputFile *file);
----------------
aganea wrote:
Same comment throughout: we could just call this `processDirectivesSection`. Same above and below.
https://github.com/llvm/llvm-project/pull/86380
    
    
More information about the llvm-commits
mailing list