diff options
| author | Martin Storsjö <martin@martin.st> | 2021-10-05 00:03:57 +0300 |
|---|---|---|
| committer | Martin Storsjö <martin@martin.st> | 2021-10-16 16:14:49 +0300 |
| commit | 6c96ceabaf84d149244a15916ce53df95aac3660 (patch) | |
| tree | 51072be45d983e45312e46580d7f8e9eb29ebfed /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | d5f5121ea65a2948c439abec9faf2d4a75ccdd49 (diff) | |
[Support] Add more Windows error codes to mapWindowsError
Also sort ERROR_BAD_NETPATH correctly.
Compared with the similar error code mapping in
libcxx/src/filesystem/operations.cpp, I'm leaving out
mappings for ERROR_NOT_SAME_DEVICE and ERROR_OPERATION_ABORTED.
They map nicely to std::errc::cross_device_link and
std::errc::operation_canceled, but those aren't available in
llvm::errc, as they aren't available across all platforms.
Also, the libcxx version maps ERROR_INVALID_NAME to
no_such_file_or_directory instead of invalid_argument.
Differential Revision: https://reviews.llvm.org/D111874
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
