[all-commits] [llvm/llvm-project] 2ca272: [OpenMP] Fix segmentation fault when data field is...
    jyu2-git via All-commits 
    all-commits at lists.llvm.org
       
    Fri Aug 12 17:20:05 PDT 2022
    
    
  
  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ca27206f9739bffb50b999bdfb76fec1d7e62a8
      https://github.com/llvm/llvm-project/commit/2ca27206f9739bffb50b999bdfb76fec1d7e62a8
  Author: Jennifer Yu <jennifer.yu at intel.com>
  Date:   2022-08-12 (Fri, 12 Aug 2022)
  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/test/OpenMP/target_is_device_ptr_codegen.cpp
    A openmp/libomptarget/test/mapping/is_device_ptr.cpp
  Log Message:
  -----------
  [OpenMP] Fix segmentation fault when data field is used in is_device_pt
Currently, the field just emit map info for this pointer variable. It is
failed at run time. For the fields, the PartialStruct is created and it
needs call to emitCombinedEntry which create the base that covers all
the pieces.
The change is to generate map info as regular fields.
Differential Revision: https://reviews.llvm.org/D129608
    
    
More information about the All-commits
mailing list