summaryrefslogtreecommitdiff
path: root/lib/ubsan/lit_tests/TypeCheck/Function/lit.local.cfg
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2013-10-20 21:29:46 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2013-10-20 21:29:46 +0000
commit9b5f95f5fe1a24be4dfb7436b64cb0e0f8c00535 (patch)
treefbae7a194cba4874ec6393403f354075d5b50914 /lib/ubsan/lit_tests/TypeCheck/Function/lit.local.cfg
parent49d29ed950f9e309a7b755b2a0601ed483ce3ade (diff)
downloadcompiler-rt-9b5f95f5fe1a24be4dfb7436b64cb0e0f8c00535.tar.gz
compiler-rt-9b5f95f5fe1a24be4dfb7436b64cb0e0f8c00535.tar.bz2
compiler-rt-9b5f95f5fe1a24be4dfb7436b64cb0e0f8c00535.tar.xz
Runtime support for the indirect function call checker.
Differential Revision: http://llvm-reviews.chandlerc.com/D1339 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193060 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ubsan/lit_tests/TypeCheck/Function/lit.local.cfg')
-rw-r--r--lib/ubsan/lit_tests/TypeCheck/Function/lit.local.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ubsan/lit_tests/TypeCheck/Function/lit.local.cfg b/lib/ubsan/lit_tests/TypeCheck/Function/lit.local.cfg
new file mode 100644
index 00000000..27c61a34
--- /dev/null
+++ b/lib/ubsan/lit_tests/TypeCheck/Function/lit.local.cfg
@@ -0,0 +1,3 @@
+# The function type checker is only supported on x86 and x86_64 for now.
+if config.root.host_arch not in ['x86', 'x86_64']:
+ config.unsupported = True