aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorNawrin Sultana <nawrin.sultana@intel.com>2020-11-02 16:17:37 -0600
committerNawrin Sultana <nawrin.sultana@intel.com>2021-01-26 18:27:39 -0600
commit927af4b3c57681e623b8449fb717a447559358d0 (patch)
tree1af6beaecca0238964a11b468037ebeeded0b5c5 /clang/lib/Frontend/CompilerInvocation.cpp
parent653655040f3e89f7725ce6961d797d4ac918708b (diff)
downloadllvm-927af4b3c57681e623b8449fb717a447559358d0.zip
llvm-927af4b3c57681e623b8449fb717a447559358d0.tar.gz
llvm-927af4b3c57681e623b8449fb717a447559358d0.tar.bz2
[OpenMP] Modify OMP_ALLOCATOR environment variable
This patch sets the def-allocator-var ICV based on the environment variables provided in OMP_ALLOCATOR. Previously, only allowed value for OMP_ALLOCATOR was a predefined memory allocator. OpenMP 5.1 specification allows predefined memory allocator, predefined mem space, or predefined mem space with traits in OMP_ALLOCATOR. If an allocator can not be created using the provided environment variables, the def-allocator-var is set to omp_default_mem_alloc. Differential Revision: https://reviews.llvm.org/D94985
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions