It's helpful
Details
Details
- Reviewers
MaskRay lebedev.ri kyulee - Group Reviewers
Restricted Project - Commits
- rG8be84e1e3112: [LTO] Add debug logging for module ID <-> path mapping
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/LTO/LTO.cpp | ||
---|---|---|
941 | I don't think it matters too much as it's a debug code. uint64_t ModuleId = ThinLTO.ModuleMap.size(); |
I don't think it matters too much as it's a debug code.
But if you hoist this code before readSummary above, you can get the module Id as below, and use it for both readSummary and this debug code.