diff options
| author | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-12 19:45:09 +0800 |
|---|---|---|
| committer | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-12 19:45:09 +0800 |
| commit | 09e8ef3e0dae29be7aa21a6e22a118a3f545945f (patch) | |
| tree | cfc5a7148aca9e768df16743c2c637e8c00a9d44 /backend/unittests/Tooling/BackendManifestTest.cpp | |
| parent | 1775d50ba02dab033c639f5c8fedd46cb6613bef (diff) | |
| download | rcc-project-09e8ef3e0dae29be7aa21a6e22a118a3f545945f.tar.gz rcc-project-09e8ef3e0dae29be7aa21a6e22a118a3f545945f.tar.xz | |
[Tooling] Complete the LLVM MIR command-line contract
Diffstat (limited to 'backend/unittests/Tooling/BackendManifestTest.cpp')
| -rw-r--r-- | backend/unittests/Tooling/BackendManifestTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/unittests/Tooling/BackendManifestTest.cpp b/backend/unittests/Tooling/BackendManifestTest.cpp index 36a023c..2e2a04c 100644 --- a/backend/unittests/Tooling/BackendManifestTest.cpp +++ b/backend/unittests/Tooling/BackendManifestTest.cpp @@ -97,11 +97,11 @@ int main() { if (!keyDiffers(Base, Changed, Input, *Fingerprint)) return tooling_test::fail("cache key must include the data layout"); Changed = Base; - Changed.Relocation = rcc::tooling::RelocationModel::Static; + Changed.Relocation = rcc::RelocationModel::Static; if (!keyDiffers(Base, Changed, Input, *Fingerprint)) return tooling_test::fail("cache key must include the relocation model"); Changed = Base; - Changed.Code = rcc::tooling::CodeModel::Medium; + Changed.Code = rcc::CodeModel::Medium; if (!keyDiffers(Base, Changed, Input, *Fingerprint)) return tooling_test::fail("cache key must include the code model"); Changed = Base; @@ -121,7 +121,7 @@ int main() { if (!keyDiffers(Base, Changed, Input, *Fingerprint)) return tooling_test::fail("cache key must include assembler options"); Changed = Base; - Changed.Optimization = rcc::tooling::OptimizationLevel::O3; + Changed.Optimization = rcc::OptimizationLevel::O3; if (!keyDiffers(Base, Changed, Input, *Fingerprint)) return tooling_test::fail("cache key must include the optimization level"); Changed = Base; |
