Line | Branch | Exec | Source |
---|---|---|---|
1 | // Copyright (c) 2021-2025 ChilliBits. All rights reserved. | ||
2 | |||
3 | #include "BitcodeLinker.h" | ||
4 | |||
5 | #include <SourceFile.h> | ||
6 | |||
7 | #include <llvm/IR/Module.h> // IWYU pragma: keep | ||
8 | |||
9 | namespace spice::compiler { | ||
10 | |||
11 | 1 | void BitcodeLinker::link() { | |
12 | // Link all source file modules in | ||
13 |
5/8✓ Branch 2 → 3 taken 1 time.
✗ Branch 2 → 24 not taken.
✓ Branch 3 → 4 taken 1 time.
✗ Branch 3 → 24 not taken.
✓ Branch 4 → 5 taken 1 time.
✗ Branch 4 → 24 not taken.
✓ Branch 16 → 6 taken 2 times.
✓ Branch 16 → 17 taken 1 time.
|
3 | for (const auto &sourceFile : resourceManager.sourceFiles | std::views::values) |
14 |
1/2✓ Branch 11 → 12 taken 2 times.
✗ Branch 11 → 18 not taken.
|
2 | linker.linkInModule(std::move(sourceFile->llvmModule), llvm::Linker::None); |
15 | 1 | } | |
16 | |||
17 | } // namespace spice::compiler | ||
18 |