krytarowski added a comment.
Here is an approach with `save_errno`, useful in libraries when we preserve
errno for public functions in the API of a library as-is, and not leaking it
from the internals to unrelated code.
Right now I don't volunteer to perform this for LLDB, but it would be nice to
not propagate it.
lldb-commits mailing list