llvm.org GIT mirror llvm / f2af3ce
[llvm] [lit] Add target-x86* features Add a 'target-x86' and 'target-x86_64' feature sthat indicates that the default target is 32-bit or 64-bit x86, appropriately. Combined with 'native' feature, we're going to use this to control x86-specific LLDB native process tests. Differential Revision: https://reviews.llvm.org/D60474 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358177 91177308-0d34-0410-b5e6-96231b3b80d8 Michal Gorny 4 months ago
1 changed file(s) with 4 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
9595 features.add('x86_64-linux')
9696 if re.match(r'.*-windows-msvc$', target_triple):
9797 features.add('target-windows')
98 if re.match(r'^i.86.*', target_triple):
99 features.add('target-x86')
100 elif re.match(r'^x86_64.*', target_triple):
101 features.add('target-x86_64')
99103 use_gmalloc = lit_config.params.get('use_gmalloc', None)
100104 if lit.util.pythonize_bool(use_gmalloc):