[all-commits] [llvm/llvm-project] 3c6b45: [OPENMP]Fix PR48076: Check map types array before ...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Nov 12 12:17:08 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c6b457bee0c66294637d50bca1cff7231647249
      https://github.com/llvm/llvm-project/commit/3c6b457bee0c66294637d50bca1cff7231647249
  Author: Alexey Bataev <a.bataev at hotmail.com>
  Date:   2020-11-12 (Thu, 12 Nov 2020)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    A clang/test/OpenMP/target_data_member_codegen.cpp

  Log Message:
  -----------
  [OPENMP]Fix PR48076: Check map types array before accessing its front.

Need to check if there are map types for the components before trying to
access them when trying to modify type mappings for combined partial
mappings.

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




More information about the All-commits mailing list