abidh wrote: This PR has been lingering for quite a long time. It could help us move the OpenMP target side debugging forward. Any review comments are appreciated. https://github.com/llvm/llvm-project/pull/157125