mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-10-10 04:44:53 +00:00
Fixes error where proc-bind-var is not set when there is a parsing error of GOMP_AFFINITY environment variable.
llvm-svn: 227202
This commit is contained in:
parent
f696c820cd
commit
a36de4339b
@ -2535,6 +2535,9 @@ __kmp_stg_parse_gomp_cpu_affinity( char const * name, char const * value, void *
|
||||
// Warning already emitted
|
||||
//
|
||||
__kmp_affinity_type = affinity_none;
|
||||
# if OMP_40_ENABLED
|
||||
__kmp_nested_proc_bind.bind_types[0] = proc_bind_false;
|
||||
# endif
|
||||
}
|
||||
} // __kmp_stg_parse_gomp_cpu_affinity
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user