[clang] [clang] Merge gtest binaries into AllClangUnitTests (PR #134196)

Nico Weber via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 30 06:00:08 PDT 2025


================
@@ -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


More information about the cfe-commits mailing list