diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2022-04-25 08:28:30 -0400 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2022-04-25 09:56:43 -0400 |
commit | 5ad07ac400dad1cbc7c7c0a5e6325165da993fb1 (patch) | |
tree | f6d3d56ea51b7fbf8226872396d393f6ef1a0473 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | 6a6cc5542b614e040e88c30baa8c5fc7df169e17 (diff) | |
download | llvm-5ad07ac400dad1cbc7c7c0a5e6325165da993fb1.zip llvm-5ad07ac400dad1cbc7c7c0a5e6325165da993fb1.tar.gz llvm-5ad07ac400dad1cbc7c7c0a5e6325165da993fb1.tar.bz2 |
[Libomptarget] Use entry name for global info
Currently, globals on the device will have an infinite reference count
and an unknown name when using `LIBOMPTARGET_INFO` to print the mapping
table. We already store the name of the global in the offloading entry
so we should be able to use it, although there will be no source
location. To do this we need to create a valid `ident_t` string from a
name only.
Reviewed By: tianshilei1992
Differential Revision: https://reviews.llvm.org/D124381
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions