[Lldb-commits] [PATCH] D43698: Plug errno in TCPSocket::Connect()

Kamil Rytarowski via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 23 15:17:48 PST 2018


krytarowski added a comment.

https://github.com/search?l=C&q=save_errno&ref=opensearch&type=Code

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.


Repository:
  rL LLVM

https://reviews.llvm.org/D43698





More information about the lldb-commits mailing list