From 51b58d6c13325753115dad99011aad1787f19785 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Thu, 25 Oct 2018 17:36:05 +0000 Subject: [PATCH] Remove accidentally committed duplicate code llvm-svn: 345287 --- lldb/source/Utility/ArchSpec.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lldb/source/Utility/ArchSpec.cpp b/lldb/source/Utility/ArchSpec.cpp index 26f1421..df1029e 100644 --- a/lldb/source/Utility/ArchSpec.cpp +++ b/lldb/source/Utility/ArchSpec.cpp @@ -1029,11 +1029,6 @@ static bool isCompatibleEnvironment(llvm::Triple::EnvironmentType lhs, rhs == llvm::Triple::UnknownEnvironment) return true; - // If any of the environment is unknown then they are compatible - if (lhs == llvm::Triple::UnknownEnvironment || - rhs == llvm::Triple::UnknownEnvironment) - return true; - // If one of the environment is Android and the other one is EABI then they // are considered to be compatible. This is required as a workaround for // shared libraries compiled for Android without the NOTE section indicating -- 2.7.4