diff options
author | Serge Rogatch <srogatch@accesssoftek.com> | 2017-01-19 20:27:11 +0000 |
---|---|---|
committer | Serge Rogatch <srogatch@accesssoftek.com> | 2017-01-19 20:27:11 +0000 |
commit | 9bce1e7553b4cd368306a2e1d0631fe7c99ad101 (patch) | |
tree | 371ae3ed90908b1b3e4d8349eefe809c58a85384 /compiler-rt/test/xray | |
parent | f83d2a25bfe611b46fe9bdaa4e6cbac505e52eed (diff) | |
download | bcm5719-llvm-9bce1e7553b4cd368306a2e1d0631fe7c99ad101.tar.gz bcm5719-llvm-9bce1e7553b4cd368306a2e1d0631fe7c99ad101.zip |
[XRay][Arm] Enable back XRay testing on Arm32 and fix the failing tests
Summary:
Testing of XRay was occasionally disabled on 32-bit Arm targets (someone assumed that XRay was supported on 64-bit targets only). This patch should fix that problem. Also here the instruction&data cache incoherency problem is fixed, because it may be causing a test to fail.
This patch is one of a series: see also
- https://reviews.llvm.org/D28624
Reviewers: dberris, rengolin
Reviewed By: rengolin
Subscribers: llvm-commits, aemerson, rengolin, dberris, iid_iunknown
Differential Revision: https://reviews.llvm.org/D28623
llvm-svn: 292517
Diffstat (limited to 'compiler-rt/test/xray')
-rw-r--r-- | compiler-rt/test/xray/lit.cfg | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/compiler-rt/test/xray/lit.cfg b/compiler-rt/test/xray/lit.cfg index 5d030e10145..9142ad13618 100644 --- a/compiler-rt/test/xray/lit.cfg +++ b/compiler-rt/test/xray/lit.cfg @@ -30,8 +30,14 @@ config.substitutions.append( # Default test suffixes. config.suffixes = ['.c', '.cc', '.cpp'] -if config.host_os not in ['Linux'] or config.host_arch.find('64') == -1: +if config.host_os not in ['Linux']: config.unsupported = True +elif '64' not in config.host_arch: + if 'arm' in config.host_arch: + if '-mthumb' in config.target_cflags: + config.unsupported = True + else: + config.unsupported = True # Allow tests to use REQUIRES=stable-runtime. For use when you cannot use XFAIL # e.g. because the test sometimes passes, sometimes fails. |