Skip to content

Commit 05a292c

Browse files
committed
Revert "[lldb] Add handling of ECError to unit test to validate a hypothesis on the bots"
This reverts commit c86b1b0.
1 parent 999313d commit 05a292c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

lldb/unittests/TestingSupport/Host/SocketTestUtilities.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,6 @@ static bool CheckIPSupport(llvm::StringRef Proto, llvm::StringRef Addr) {
110110
std::make_error_code(std::errc::address_family_not_supported) ||
111111
ec == std::make_error_code(std::errc::address_not_available))
112112
HasProtocolError = true;
113-
},
114-
[&](std::unique_ptr<llvm::ECError> ECErr) {
115-
// FIXME: This code path should not be reachable.
116-
std::error_code ec = ECErr->convertToErrorCode();
117-
if (ec ==
118-
std::make_error_code(std::errc::address_family_not_supported) ||
119-
ec == std::make_error_code(std::errc::address_not_available))
120-
HasProtocolError = true;
121113
});
122114
if (HasProtocolError) {
123115
GTEST_LOG_(WARNING)

0 commit comments

Comments
 (0)