[lldb/Utility] Improve error_code->Status conversion
authorPavel Labath <pavel@labath.sk>
Thu, 23 Apr 2020 13:55:39 +0000 (15:55 +0200)
committerPavel Labath <pavel@labath.sk>
Thu, 23 Apr 2020 14:12:41 +0000 (16:12 +0200)
commitf512b978b0ebd09be08d879acb4feb7846370cd5
treeb0090dfd582fe755e51b719ecd5ea69996a6ef70
parentd8a4a991619995edcff484b7224034afe5b79b81
[lldb/Utility] Improve error_code->Status conversion

Both entities have the notion of error "namespaces". Map the errno
namespace correctly.
lldb/source/Utility/Status.cpp
lldb/unittests/Utility/StatusTest.cpp