diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2010-10-11 23:31:07 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2010-10-11 23:31:07 +0000 |
| commit | 89329cb8f71b14fa90eb1917a7c8455e35dd3253 (patch) | |
| tree | 021a8dd424c5591565c4705f8ec3ee029696d0d3 /clang/lib | |
| parent | 844dd0ad00af824336c767576a7c1bb65a4c3a7c (diff) | |
| download | bcm5719-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.cpp | 10 |
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())); } |

