================
@@ -304,7 +304,7 @@ getCodeModel(const CodeGenOptions &CodeGenOpts) {
                            .Case("kernel", llvm::CodeModel::Kernel)
                            .Case("medium", llvm::CodeModel::Medium)
                            .Case("large", llvm::CodeModel::Large)
-                           .Case("default", ~1u)
+                           .Cases("default", "", ~1u)
----------------
nico wrote:

I was going to ask about this: Why do FrontendTests now have to call 
`llvm::InitializeAllTargetMCs();`? They used to not depend on llvm/lib/Target 
at all. Why is this needed now that that code gets linked into a bigger binary?

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

Reply via email to