dblaikie added a comment. Perhaps GlobalModuleIndex should create the cursor itself - it's being handed the buffer anyway? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D123436/new/ https://reviews.llvm.org/D123436