jayfoad wrote: Thanks for the patch! > It turns out there's a pathway for Functions to be inserted into modules without having the "New" debug-info flag set correctly Is there any other path that _does_ set it correctly? https://github.com/llvm/llvm-project/pull/82373