projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c10de9a
)
Remove accidentally committed duplicate code
author
Adrian Prantl
<aprantl@apple.com>
Thu, 25 Oct 2018 17:36:05 +0000
(17:36 +0000)
committer
Adrian Prantl
<aprantl@apple.com>
Thu, 25 Oct 2018 17:36:05 +0000
(17:36 +0000)
llvm-svn: 345287
lldb/source/Utility/ArchSpec.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Utility/ArchSpec.cpp
b/lldb/source/Utility/ArchSpec.cpp
index
26f1421
..
df1029e
100644
(file)
--- 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