================
@@ -479,14 +479,6 @@ static void addTocDataOptions(const llvm::opt::ArgList 
&Args,
       return false;
   }();
 
-  // Currently only supported for small code model.
-  if (TOCDataGloballyinEffect &&
-      (Args.getLastArgValue(options::OPT_mcmodel_EQ).equals("large") ||
-       Args.getLastArgValue(options::OPT_mcmodel_EQ).equals("medium"))) {
-    D.Diag(clang::diag::warn_drv_unsupported_tocdata);
----------------
amy-kwan wrote:

Agreed, according to https://reviews.llvm.org/D106371, medium will be large.

https://github.com/llvm/llvm-project/pull/90619
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to