nikic wrote: Both of those test cases reference a function inside DITemplateValueParameter metadata. Unfortunately, I'm not able to reproduce this issue when running through `opt` instead of `clang`. https://github.com/llvm/llvm-project/pull/139999