diff options
author | Samuel Antao <sfantao@us.ibm.com> | 2016-07-27 22:49:49 +0000 |
---|---|---|
committer | Samuel Antao <sfantao@us.ibm.com> | 2016-07-27 22:49:49 +0000 |
commit | 403ffd409f2ddd09a40073ad4555ede99fdd988f (patch) | |
tree | 7d222fd64f138507fed2e3921162269d44e7e68e /clang/lib/Driver/Driver.cpp | |
parent | 5092dc010f8c95e4f8a4d07d48b3f69bb699575a (diff) | |
download | bcm5719-llvm-403ffd409f2ddd09a40073ad4555ede99fdd988f.tar.gz bcm5719-llvm-403ffd409f2ddd09a40073ad4555ede99fdd988f.zip |
[OpenMP] Add support for mapping array sections through pointer references.
Summary:
This patch fixes a bug in the map of array sections whose base is a reference to a pointer. The existing mapping support was not prepared to deal with it, causing the compiler to crash.
Mapping a reference to a pointer enjoys the same characteristics of a regular pointer, i.e., it is passed by value. Therefore, the reference has to be materialized in the target region.
Reviewers: hfinkel, carlo.bertolli, kkwli0, ABataev
Subscribers: caomhin, cfe-commits
Differential Revision: https://reviews.llvm.org/D22690
llvm-svn: 276933
Diffstat (limited to 'clang/lib/Driver/Driver.cpp')
0 files changed, 0 insertions, 0 deletions