JDevlieghere wrote: There's an existing PR that adds this functionality as well: https://github.com/llvm/llvm-project/pull/121269 with quite a bit of discussion. Does this PR have anything that's lacking in the other PR? https://github.com/llvm/llvm-project/pull/138160