[all-commits] [llvm/llvm-project] 0c7a48: [libomptarget] Keep the Shadow Pointer Map up-to-date

George Rokos via All-commits all-commits at lists.llvm.org
Wed Jul 14 15:24:42 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0c7a4870c5b63935b7f0c7cbc380b497341dd203
      https://github.com/llvm/llvm-project/commit/0c7a4870c5b63935b7f0c7cbc380b497341dd203
  Author: George Rokos <georgios.rokos at intel.com>
  Date:   2021-07-14 (Wed, 14 Jul 2021)

  Changed paths:
    M openmp/libomptarget/src/omptarget.cpp

  Log Message:
  -----------
  [libomptarget] Keep the Shadow Pointer Map up-to-date

D105812 introduced a regression where if a PTR_AND_OBJ entry was mapped on the device, then the OBJ was deallocated and then reallocated at a different address, the Shadow Pointer Map would still contain an entry for the PTR but pointing to the old address. This caused test `env/base_ptr_ref_count.c` to fail.

Differential Revision: https://reviews.llvm.org/D105947




More information about the All-commits mailing list