[all-commits] [llvm/llvm-project] e8d848: [clang][bytecode] Fix dynamic array allocation ret...

Timm Baeder via All-commits all-commits at lists.llvm.org
Sun Feb 16 03:24:56 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e8d848824bbd76892a7b371a8409b0fb378a55a4
      https://github.com/llvm/llvm-project/commit/e8d848824bbd76892a7b371a8409b0fb378a55a4
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-02-16 (Sun, 16 Feb 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/DynamicAllocator.cpp
    M clang/lib/AST/ByteCode/Interp.h
    M clang/lib/AST/ByteCode/InterpBuiltin.cpp
    M clang/lib/AST/ByteCode/Program.cpp
    A clang/test/AST/ByteCode/allocate-arrays.cpp

  Log Message:
  -----------
  [clang][bytecode] Fix dynamic array allocation return values (#127387)

We need to return a pointer to the first element, not the array itself.



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