During explicit modules build, when all modules are provided via -fmodule-file=<path> and implicit modules and implicit module maps are disabled (-fno-implicit-modules, -fno-implicit-module-maps), we don't need to load the original module map files at all. This patch stops emitting the -fmodule-map-file= arguments we don't need, saving some compilation time due to avoiding parsing such module maps and making the command line shorter.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
That was quick! Seems reasonable to me -hopefully there's not some strange case where this wouldn't work, will be nice to avoid the parsing time (which actually isn't insignificant).