mirror of
https://github.com/intel/llvm.git
synced 2026-01-21 04:14:03 +08:00
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:
@@ -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<
|
||||
|
||||
@@ -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()));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user