yonghong-song wrote: Okay, I see. So the idea is to the actual function itself has tag for the original subprogram, but the the code in the actual function has tags for the modified subprogram. This may work. Will give a try. https://github.com/llvm/llvm-project/pull/157349