labath added a comment. Yes, but that's why we have the Error objects, so we don't have to do the errno save-restore dance.
If this is just a debugging aid, then maybe you should keep it as such (locally). There are plenty of places that will leave a stray errno around and I don't think we want to do this resetting on all of them. Repository: rL LLVM https://reviews.llvm.org/D43698 _______________________________________________ lldb-commits mailing list email@example.com http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits