mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 13:50:11 +00:00
[OpenMP] Fix build issue with libomp
when OMPT is disabled
This commit is contained in:
parent
0762b2e6ca
commit
010a5a737b
@ -351,7 +351,7 @@ void __kmpc_fork_call_if(ident_t *loc, kmp_int32 argc, kmpc_micro microtask,
|
||||
} else {
|
||||
__kmpc_serialized_parallel(loc, gtid);
|
||||
|
||||
#ifdef OMPT_SUPPORT
|
||||
#if OMPT_SUPPORT
|
||||
void *exit_frame_ptr;
|
||||
#endif
|
||||
|
||||
@ -359,7 +359,7 @@ void __kmpc_fork_call_if(ident_t *loc, kmp_int32 argc, kmpc_micro microtask,
|
||||
__kmp_invoke_microtask(VOLATILE_CAST(microtask_t) microtask, gtid,
|
||||
/*npr=*/0,
|
||||
/*argc=*/1, &args
|
||||
#ifdef OMPT_SUPPORT
|
||||
#if OMPT_SUPPORT
|
||||
,
|
||||
&exit_frame_ptr
|
||||
#endif
|
||||
@ -369,7 +369,7 @@ void __kmpc_fork_call_if(ident_t *loc, kmp_int32 argc, kmpc_micro microtask,
|
||||
/*npr=*/0,
|
||||
/*argc=*/0,
|
||||
/*args=*/nullptr
|
||||
#ifdef OMPT_SUPPORT
|
||||
#if OMPT_SUPPORT
|
||||
,
|
||||
&exit_frame_ptr
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user