https://github.com/efriedma-quic approved this pull request. LGTM On a related note, should we skip constructing the CalledGlobalsMap if we know nothing will actually consume the information? https://github.com/llvm/llvm-project/pull/122762