Hardcode84 wrote: Side comment: I kind of concerned that it iterates over all globals for each printf making it `O(N^2)` pass. Can we build as map once and reuse it? I do not want to block anyone either, so we can do it in separate PR. https://github.com/llvm/llvm-project/pull/110504