summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-10-11 23:31:07 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-10-11 23:31:07 +0000
commit89329cb8f71b14fa90eb1917a7c8455e35dd3253 (patch)
tree021a8dd424c5591565c4705f8ec3ee029696d0d3 /clang/lib
parent844dd0ad00af824336c767576a7c1bb65a4c3a7c (diff)
downloadbcm5719-llvm-89329cb8f71b14fa90eb1917a7c8455e35dd3253.tar.gz
bcm5719-llvm-89329cb8f71b14fa90eb1917a7c8455e35dd3253.zip
Driver/Darwin: Remove a useless warning about missing runtime libraries. These
are almost never needed, so the warning isn't very useful. llvm-svn: 116263
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Driver/ToolChains.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/clang/lib/Driver/ToolChains.cpp b/clang/lib/Driver/ToolChains.cpp
index 79fb07519bd..9417a997869 100644
--- a/clang/lib/Driver/ToolChains.cpp
+++ b/clang/lib/Driver/ToolChains.cpp
@@ -526,10 +526,7 @@ void DarwinClang::AddLinkRuntimeLibArgs(const ArgList &Args,
// For now, allow missing resource libraries to support developers who may
// not have compiler-rt checked out or integrated into their build.
- if (!P.exists())
- getDriver().Diag(clang::diag::warn_drv_missing_resource_library)
- << P.str();
- else
+ if (P.exists())
CmdArgs.push_back(Args.MakeArgString(P.str()));
}
}
@@ -667,10 +664,7 @@ void DarwinClang::AddCCKextLibArgs(const ArgList &Args,
// For now, allow missing resource libraries to support developers who may
// not have compiler-rt checked out or integrated into their build.
- if (!P.exists())
- getDriver().Diag(clang::diag::warn_drv_missing_resource_library)
- << P.str();
- else
+ if (P.exists())
CmdArgs.push_back(Args.MakeArgString(P.str()));
}
OpenPOWER on IntegriCloud