Instead of creating MemoryBufferRef for BitcodeFile in InputFile.cpp, this patch adds a generateMemoryBufferRef in LTO.h. This ensures that LTO processing based on LTO options is done in LTO.cpp/LTO.h files.
Details
Details
Diff Detail
Diff Detail
- Repository
- rLLD LLVM Linker
Event Timeline
Comment Actions
Thank you for doing this, but I don't think this patch simplifies the code, because everything that was executed without this patch is still executed with this patch too. You just moved code from one place to another.