Instead, passing in the command line options, initialized to nullptr. In
an upcoming patch, we can then use the parameter to pass actual command
line options.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Why not just make this one an NFC change to remove the unused Conf parameter. Then pass in CmdLineOpts in the patch where its use is added?
llvm/lib/LTO/LTOBackend.cpp | ||
---|---|---|
362 | Why this change? Now Buf is unused. |
llvm/lib/LTO/LTOBackend.cpp | ||
---|---|---|
362 | Oh - fixed. I was going to do that next and forgot to undo the change. Turns out, llvm::EmbedBitcodeInModule handles that case - i.e. if you pass an invalid memory buffer, it will extract it from the provided Module. Separate change, in any case. |
Why this change? Now Buf is unused.