mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-25 06:40:18 +00:00
CFI: Run the tests only on supported architectures/OSs.
Specifically, only run the cfi-icall tests on x86/x86_64, and add an XFAIL for darwin. llvm-svn: 247325
This commit is contained in:
parent
24ec4924c0
commit
6f94087329
@ -2,6 +2,10 @@
|
||||
// RUN: %t1 c 1 2>&1 | FileCheck --check-prefix=CFI %s
|
||||
// RUN: %t1 s 2 2>&1 | FileCheck --check-prefix=CFI %s
|
||||
|
||||
// This test uses jump tables containing PC-relative references to external
|
||||
// symbols, which the Mach-O object writer does not currently support.
|
||||
// XFAIL: darwin
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
3
compiler-rt/test/cfi/icall/lit.local.cfg
Normal file
3
compiler-rt/test/cfi/icall/lit.local.cfg
Normal file
@ -0,0 +1,3 @@
|
||||
# The cfi-icall checker is only supported on x86 and x86_64 for now.
|
||||
if config.root.host_arch not in ['x86', 'x86_64']:
|
||||
config.unsupported = True
|
Loading…
Reference in New Issue
Block a user