[Lldb-commits] [lldb] 05a292c - Revert "[lldb] Add handling of ECError to unit test to validate a hypothesis on the bots"
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Wed Sep 18 17:28:18 PDT 2024
Author: Adrian Prantl
Date: 2024-09-18T17:28:09-07:00
New Revision: 05a292caa57de13a6d0bc25dee2be25c2a0dcee3
URL: https://github.com/llvm/llvm-project/commit/05a292caa57de13a6d0bc25dee2be25c2a0dcee3
DIFF: https://github.com/llvm/llvm-project/commit/05a292caa57de13a6d0bc25dee2be25c2a0dcee3.diff
LOG: Revert "[lldb] Add handling of ECError to unit test to validate a hypothesis on the bots"
This reverts commit c86b1b0f44509585390c8df09b41d707e6a14011.
Added:
Modified:
lldb/unittests/TestingSupport/Host/SocketTestUtilities.cpp
Removed:
################################################################################
diff --git a/lldb/unittests/TestingSupport/Host/SocketTestUtilities.cpp b/lldb/unittests/TestingSupport/Host/SocketTestUtilities.cpp
index 9777555d57ffff..86aed292ec01f8 100644
--- a/lldb/unittests/TestingSupport/Host/SocketTestUtilities.cpp
+++ b/lldb/unittests/TestingSupport/Host/SocketTestUtilities.cpp
@@ -110,14 +110,6 @@ static bool CheckIPSupport(llvm::StringRef Proto, llvm::StringRef Addr) {
std::make_error_code(std::errc::address_family_not_supported) ||
ec == std::make_error_code(std::errc::address_not_available))
HasProtocolError = true;
- },
- [&](std::unique_ptr<llvm::ECError> ECErr) {
- // FIXME: This code path should not be reachable.
- std::error_code ec = ECErr->convertToErrorCode();
- if (ec ==
- std::make_error_code(std::errc::address_family_not_supported) ||
- ec == std::make_error_code(std::errc::address_not_available))
- HasProtocolError = true;
});
if (HasProtocolError) {
GTEST_LOG_(WARNING)
More information about the lldb-commits
mailing list