[lld] 3a4b605 - [lld-macho] Internalize createFiles. NFC

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 28 22:14:42 PDT 2021


Author: Fangrui Song
Date: 2021-10-28T22:14:37-07:00
New Revision: 3a4b605bc16fad579ce7b40eeff782f5cc19cbd3

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

LOG: [lld-macho] Internalize createFiles. NFC

Added: 
    

Modified: 
    lld/MachO/Driver.cpp

Removed: 
    


################################################################################
diff  --git a/lld/MachO/Driver.cpp b/lld/MachO/Driver.cpp
index 090221fa43f6c..bd39024e3fcf4 100644
--- a/lld/MachO/Driver.cpp
+++ b/lld/MachO/Driver.cpp
@@ -936,7 +936,7 @@ static void handleSymbolPatterns(InputArgList &args,
   }
 }
 
-void createFiles(const InputArgList &args) {
+static void createFiles(const InputArgList &args) {
   TimeTraceScope timeScope("Load input files");
   // This loop should be reserved for options whose exact ordering matters.
   // Other options should be handled via filtered() and/or getLastArg().


        


More information about the llvm-commits mailing list