aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/FileManager.cpp
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2020-10-22 14:06:50 -0400
committerHuber, Joseph <huberjn@ornl.gov>2020-10-27 16:09:19 -0400
commita87d7b3d448a16e416d1980b9d6aea99e4c9900b (patch)
treeb2a86b17a00d79c5d21050352668b18e77c9b667 /clang/lib/Basic/FileManager.cpp
parentc56bbb3961e460cdff96c200068c073dd5d9f5cc (diff)
downloadllvm-a87d7b3d448a16e416d1980b9d6aea99e4c9900b.zip
llvm-a87d7b3d448a16e416d1980b9d6aea99e4c9900b.tar.gz
llvm-a87d7b3d448a16e416d1980b9d6aea99e4c9900b.tar.bz2
[OpenMP] Add Passing in Original Declaration Names To Mapper API
Summary: This patch adds support for passing in the original delcaration name in the source file to the libomptarget runtime. This will allow the runtime to provide more intelligent debugging messages. This patch takes the original expression parsed from the OpenMP map / update clause and provides a textual representation if it was explicitly mapped, otherwise it takes the name of the variable declaration as a fallback. The information in passed to the runtime in a global array of strings that matches the existing ident_t source location strings using ";name;filename;column;row;;". See clang/test/OpenMP/target_map_names.cpp for an example of the generated output for a given map clause. Reviewers: jdoervert Differential Revision: https://reviews.llvm.org/D89802
Diffstat (limited to 'clang/lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions