[Lldb-commits] [lldb] r345287 - Remove accidentally committed duplicate code

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 25 10:36:06 PDT 2018


Author: adrian
Date: Thu Oct 25 10:36:05 2018
New Revision: 345287

URL: http://llvm.org/viewvc/llvm-project?rev=345287&view=rev
Log:
Remove accidentally committed duplicate code

Modified:
    lldb/trunk/source/Utility/ArchSpec.cpp

Modified: lldb/trunk/source/Utility/ArchSpec.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Utility/ArchSpec.cpp?rev=345287&r1=345286&r2=345287&view=diff
==============================================================================
--- lldb/trunk/source/Utility/ArchSpec.cpp (original)
+++ lldb/trunk/source/Utility/ArchSpec.cpp Thu Oct 25 10:36:05 2018
@@ -1029,11 +1029,6 @@ static bool isCompatibleEnvironment(llvm
       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




More information about the lldb-commits mailing list