jimingham wrote: I still think callers shouldn't have to do this, but to make the internal API good you'd really have to return a Status, so this is okay for now. https://github.com/llvm/llvm-project/pull/123981