================ @@ -22,31 +23,47 @@ using namespace llvm; +DenseMap<Value *, Value *> ValueToBasePtr; ---------------- nikic wrote: You can't use globals this way in LLVM, it's not thread safe and will mix data across functions. https://github.com/llvm/llvm-project/pull/112699