mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-07 16:42:34 +00:00
[OpenMP] Add REQUIRES pragma to threadprivate regression tests.
llvm-svn: 242090
This commit is contained in:
parent
a4917f74eb
commit
3e1ccbe8ba
@ -5,6 +5,7 @@
|
||||
// RUN: %clang_cc1 -fopenmp -fnoopenmp-use-tls -triple x86_64-unknown-linux-gnu -x c++ -std=c++11 -emit-pch -o %t %s
|
||||
// RUN: %clang_cc1 -fopenmp -fnoopenmp-use-tls -triple x86_64-unknown-linux-gnu -std=c++11 -include-pch %t -fsyntax-only -verify %s -ast-print
|
||||
// expected-no-diagnostics
|
||||
// REQUIRES: x86-registered-target
|
||||
|
||||
#ifndef HEADER
|
||||
#define HEADER
|
||||
|
@ -7,6 +7,7 @@
|
||||
// RUN: %clang_cc1 -fopenmp -DBODY -x c++ -triple x86_64-unknown-unknown -fexceptions -fcxx-exceptions -g -std=c++11 -include-pch %t -verify %s -emit-llvm -o - | FileCheck --check-prefix=CHECK-TLS %s
|
||||
|
||||
// expected-no-diagnostics
|
||||
// REQUIRES: x86-registered-target
|
||||
#ifndef HEADER
|
||||
#define HEADER
|
||||
// CHECK-DAG: [[IDENT:%.+]] = type { i32, i32, i32, i32, i8* }
|
||||
@ -30,7 +31,6 @@
|
||||
// CHECK-TLS-DAG: [[S5:%.+]] = type { [[INT]], [[INT]], [[INT]] }
|
||||
// CHECK-TLS-DAG: [[SMAIN:%.+]] = type { [[INT]], double, double }
|
||||
|
||||
// REQUIRES: x86-registered-target
|
||||
struct S1 {
|
||||
int a;
|
||||
S1()
|
||||
|
Loading…
Reference in New Issue
Block a user