diff options
| author | George Rokos <georgios.rokos@intel.com> | 2020-01-14 16:30:38 -0800 |
|---|---|---|
| committer | George Rokos <georgios.rokos@intel.com> | 2020-01-14 16:30:38 -0800 |
| commit | e244145ab08ae79ea3d22c2fe479ec084dbd7742 (patch) | |
| tree | adcc5b3012654155c2dfa0a63efa417908d405cc /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 01a4b83154760ea286117ac4de9576b8a215cb8d (diff) | |
[LIBOMPTARGET] Do not increment/decrement the refcount for "declare target" objects
The reference counter for global objects marked with declare target is INF. This patch prevents the runtime from incrementing /decrementing INF refcounts. Without it, the map(delete: global_object) directive actually deallocates the global on the device. With this patch, such a directive becomes a no-op.
Differential Revision: https://reviews.llvm.org/D72525
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
