| 843 | *profiles, |
| 844 | ] |
| 845 | subprocess.run(llvm_prof_data_cmd, check=True) |
| 846 | |
| 847 | |
| 848 | class LLVMSlimInstrumentedBuilder(LLVMInstrumentedBuilder, LLVMSlimBuilder): |
| 849 | # No methods to override, this class inherits everyting from these super classes |
| 850 | pass |
| 851 | |
| 852 | |
| 853 | class LLVMSourceManager(GitSourceManager): |
| 854 | def __init__(self, repo): |
| 855 | super().__init__(repo) |
| 856 | |
| 857 | self._pretty_name = 'LLVM' |
| 858 | self._repo_url = 'https://github.com/llvm/llvm-project.git' |
| 859 | |
| 860 | @staticmethod |
| 861 | def default_projects(): |
| 862 | return ['clang', 'compiler-rt', 'lld', 'polly'] |
| 863 | |
| 864 | def default_targets(self): |
| 865 | all_targets = get_all_targets(self.repo) |
| 866 | targets = [ |
| 867 | 'AArch64', |
| 868 | 'ARM', |
| 869 | 'BPF', |
| 870 | 'Hexagon', |
| 871 | 'Mips', |
| 872 | 'PowerPC', |
| 873 | 'RISCV', |
| 874 | 'Sparc', |
| 875 | 'SystemZ', |
| 876 | 'X86', |
| 877 | ] |