summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2014-08-09 18:28:36 +0000
committerJoerg Sonnenberger <joerg@bec.de>2014-08-09 18:28:36 +0000
commit323cea90da2740897d70346a46245d18c7adfbfa (patch)
tree958271b5baa0b5383245fca428117d7a22d9fd7c /clang/lib
parent1801d1b12fd6bd2f481efc94abbeda8f865724cb (diff)
downloadbcm5719-llvm-323cea90da2740897d70346a46245d18c7adfbfa.tar.gz
bcm5719-llvm-323cea90da2740897d70346a46245d18c7adfbfa.zip
NetBSD/aarch64 has no libgcc or libstdc++. Drop arm64 tests.
llvm-svn: 215291
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Driver/ToolChains.cpp1
-rw-r--r--clang/lib/Driver/Tools.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Driver/ToolChains.cpp b/clang/lib/Driver/ToolChains.cpp
index ad82504f3d9..56bf1b4303c 100644
--- a/clang/lib/Driver/ToolChains.cpp
+++ b/clang/lib/Driver/ToolChains.cpp
@@ -2643,6 +2643,7 @@ NetBSD::GetCXXStdlibType(const ArgList &Args) const {
getTriple().getOSVersion(Major, Minor, Micro);
if (Major >= 7 || (Major == 6 && Minor == 99 && Micro >= 49) || Major == 0) {
switch (getArch()) {
+ case llvm::Triple::aarch64:
case llvm::Triple::arm:
case llvm::Triple::armeb:
case llvm::Triple::thumb:
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp
index 65760b49baa..b6274a8fc78 100644
--- a/clang/lib/Driver/Tools.cpp
+++ b/clang/lib/Driver/Tools.cpp
@@ -6964,6 +6964,7 @@ void netbsd::Link::ConstructJob(Compilation &C, const JobAction &JA,
bool useLibgcc = true;
if (Major >= 7 || (Major == 6 && Minor == 99 && Micro >= 49) || Major == 0) {
switch(getToolChain().getArch()) {
+ case llvm::Triple::aarch64:
case llvm::Triple::arm:
case llvm::Triple::armeb:
case llvm::Triple::thumb:
OpenPOWER on IntegriCloud