[OpenMP] Add omp_realloc implementation
authorNawrin Sultana <nawrin.sultana@intel.com>
Fri, 6 Nov 2020 21:36:19 +0000 (15:36 -0600)
committerNawrin Sultana <nawrin.sultana@intel.com>
Tue, 17 Nov 2020 19:43:00 +0000 (13:43 -0600)
commit5439db05e74044a239c0fd37f8594b6b67dd3c02
tree8e1c98e3089edadaa8c1976255375cc6eb42e520
parenta461e76b6f973d3f40944b83a46defba0c136777
[OpenMP] Add omp_realloc implementation

This patch adds omp_realloc function implementation according to
OpenMP 5.1 specification.

Differential Revision: https://reviews.llvm.org/D90971
12 files changed:
openmp/runtime/src/dllexports
openmp/runtime/src/include/omp.h.var
openmp/runtime/src/kmp.h
openmp/runtime/src/kmp_alloc.cpp
openmp/runtime/src/kmp_csupport.cpp
openmp/runtime/src/kmp_stub.cpp
openmp/runtime/test/api/omp_calloc_def_fb.c
openmp/runtime/test/api/omp_calloc_size_0.c
openmp/runtime/test/api/omp_realloc_def_fb.c [new file with mode: 0644]
openmp/runtime/test/api/omp_realloc_null_ptr.c [new file with mode: 0644]
openmp/runtime/test/api/omp_realloc_size_0.c [new file with mode: 0644]
openmp/runtime/tools/generate-def.pl