File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ class LinkerDriver {
138
138
139
139
std::unique_ptr<BitcodeCompiler> lto;
140
140
std::vector<InputFile *> files;
141
- std::optional< InputFile *> armCmseImpLib;
141
+ InputFile *armCmseImpLib = nullptr ;
142
142
143
143
public:
144
144
SmallVector<std::pair<StringRef, unsigned >, 0 > archiveFiles;
Original file line number Diff line number Diff line change @@ -330,11 +330,11 @@ extern template void ObjFile<ELF32BE>::importCmseSymbols();
330
330
extern template void ObjFile<ELF64LE>::importCmseSymbols();
331
331
extern template void ObjFile<ELF64BE>::importCmseSymbols();
332
332
333
- template <class ELFT > static void doParseArmCMSEImportLib (InputFile * file) {
334
- cast<ObjFile<ELFT>>(file)-> importCmseSymbols ();
333
+ template <class ELFT > static void doParseArmCMSEImportLib (InputFile & file) {
334
+ cast<ObjFile<ELFT>>(file). importCmseSymbols ();
335
335
}
336
336
337
- void elf::parseArmCMSEImportLib (InputFile * file) {
337
+ void elf::parseArmCMSEImportLib (InputFile & file) {
338
338
invokeELFT (doParseArmCMSEImportLib, file);
339
339
}
340
340
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ std::optional<MemoryBufferRef> readFile(StringRef path);
49
49
template <class ELFT > void doParseFile (InputFile *file);
50
50
void parseFile (InputFile *file);
51
51
52
- void parseArmCMSEImportLib (InputFile * file);
52
+ void parseArmCMSEImportLib (InputFile & file);
53
53
54
54
// The root class of input files.
55
55
class InputFile {
You can’t perform that action at this time.
0 commit comments