aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
diff options
context:
space:
mode:
authorGeorge Rokos <georgios.rokos@intel.com>2020-01-14 16:30:38 -0800
committerGeorge Rokos <georgios.rokos@intel.com>2020-01-14 16:30:38 -0800
commite244145ab08ae79ea3d22c2fe479ec084dbd7742 (patch)
treeadcc5b3012654155c2dfa0a63efa417908d405cc /llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
parent01a4b83154760ea286117ac4de9576b8a215cb8d (diff)
downloadllvm-e244145ab08ae79ea3d22c2fe479ec084dbd7742.zip
llvm-e244145ab08ae79ea3d22c2fe479ec084dbd7742.tar.gz
llvm-e244145ab08ae79ea3d22c2fe479ec084dbd7742.tar.bz2
[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 'llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions