[all-commits] [llvm/llvm-project] f4aaf6: [clang][bytecode] Fix a crash in codegen (#151515)

Timm Baeder via All-commits all-commits at lists.llvm.org
Thu Jul 31 06:50:24 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f4aaf6fe5c6b7911d8b5f669646372c8c7dc19f4
      https://github.com/llvm/llvm-project/commit/f4aaf6fe5c6b7911d8b5f669646372c8c7dc19f4
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-07-31 (Thu, 31 Jul 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/Compiler.cpp
    M clang/test/AST/ByteCode/codegen.cpp

  Log Message:
  -----------
  [clang][bytecode] Fix a crash in codegen (#151515)

getRecord() can return nullptr if any one of the fields does, in this
case because the array is too large for us to allocate.



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