File tree 6 files changed +7
-7
lines changed
6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -2138,11 +2138,11 @@ void LinkerDriver::linkerMain(ArrayRef<const char *> argsArr) {
2138
2138
// Do LTO by compiling bitcode input files to a set of native COFF files then
2139
2139
// link those files (unless -thinlto-index-only was given, in which case we
2140
2140
// resolve symbols and write indices, but don't generate native code or link).
2141
- ctx.symtab .addCombinedLTOObjects ();
2141
+ ctx.symtab .compileBitcodeFiles ();
2142
2142
2143
2143
// If -thinlto-index-only is given, we should create only "index
2144
2144
// files" and not object files. Index file creation is already done
2145
- // in addCombinedLTOObject , so we are done if that's the case.
2145
+ // in compileBitcodeFiles , so we are done if that's the case.
2146
2146
if (config->thinLTOIndexOnly )
2147
2147
return ;
2148
2148
Original file line number Diff line number Diff line change @@ -865,7 +865,7 @@ Symbol *SymbolTable::addUndefined(StringRef name) {
865
865
return addUndefined (name, nullptr , false );
866
866
}
867
867
868
- void SymbolTable::addCombinedLTOObjects () {
868
+ void SymbolTable::compileBitcodeFiles () {
869
869
if (ctx.bitcodeFileInstances .empty ())
870
870
return ;
871
871
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ class SymbolTable {
81
81
// Build a set of COFF objects representing the combined contents of
82
82
// BitcodeFiles and add them to the symbol table. Called after all files are
83
83
// added and before the writer writes results to a file.
84
- void addCombinedLTOObjects ();
84
+ void compileBitcodeFiles ();
85
85
86
86
// Creates an Undefined symbol for a given name.
87
87
Symbol *addUndefined (StringRef name);
Original file line number Diff line number Diff line change @@ -970,7 +970,7 @@ void LinkerDriver::linkerMain(ArrayRef<const char *> argsArr) {
970
970
971
971
// Do link-time optimization if given files are LLVM bitcode files.
972
972
// This compiles bitcode files into real object files.
973
- symtab->addCombinedLTOObject ();
973
+ symtab->compileBitcodeFiles ();
974
974
if (errorCount ())
975
975
return ;
976
976
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ void SymbolTable::addFile(InputFile *file) {
63
63
// using LLVM functions and replaces bitcode symbols with the results.
64
64
// Because all bitcode files that the program consists of are passed
65
65
// to the compiler at once, it can do whole-program optimization.
66
- void SymbolTable::addCombinedLTOObject () {
66
+ void SymbolTable::compileBitcodeFiles () {
67
67
// Prevent further LTO objects being included
68
68
BitcodeFile::doneLTO = true ;
69
69
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ class SymbolTable {
41
41
42
42
void addFile (InputFile *file);
43
43
44
- void addCombinedLTOObject ();
44
+ void compileBitcodeFiles ();
45
45
46
46
ArrayRef<Symbol *> getSymbols () const { return symVector; }
47
47
You can’t perform that action at this time.
0 commit comments