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
This commit is contained in:
Daniel Dunbar
2010-10-11 23:31:07 +00:00
parent 844dd0ad00
commit 89329cb8f7
2 changed files with 2 additions and 10 deletions

View File

@@ -93,8 +93,6 @@ def warn_drv_assuming_mfloat_abi_is : Warning<
"unknown platform, assuming -mfloat-abi=%0">;
def warn_ignoring_ftabstop_value : Warning<
"ignoring invalid -ftabstop value '%0', using default value %1">;
def warn_drv_missing_resource_library : Warning<
"missing resource library '%0', link may fail">;
def warn_drv_conflicting_deployment_targets : Warning<
"conflicting deployment targets, both MACOSX_DEPLOYMENT_TARGET '%0' and IPHONEOS_DEPLOYMENT_TARGET '%1' are present in environment">;
def warn_drv_treating_input_as_cxx : Warning<

View File

@@ -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()));
}