[all-commits] [llvm/llvm-project] 8477ca: [HIP][Clang][Sema] Fix crash when calling builtins...

Raymond Tian via All-commits all-commits at lists.llvm.org
Mon Jul 1 11:54:26 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8477ca6e8e2a2c5adcfd600780a5eecb2ca0b153
      https://github.com/llvm/llvm-project/commit/8477ca6e8e2a2c5adcfd600780a5eecb2ca0b153
  Author: Raymond Tian <rymdtian at gmail.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang/lib/Sema/SemaExpr.cpp
    A clang/test/SemaCUDA/amdgpu-builtins-pointer-args.cu

  Log Message:
  -----------
  [HIP][Clang][Sema] Fix crash when calling builtins with pointer arguments (#95957)

Crashed when the number of args passed was less than number of
parameters in builtin definition, because we were indexing the list of
args while iterating through the entire number of parameters.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list