[all-commits] [llvm/llvm-project] bd6c43: [clang codegen] avoid to crash when emit init func...

Congcong Cai via All-commits all-commits at lists.llvm.org
Tue Oct 22 18:21:49 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bd6c430dcb52f3e4f86abc5f572126355fa39936
      https://github.com/llvm/llvm-project/commit/bd6c430dcb52f3e4f86abc5f572126355fa39936
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2024-10-23 (Wed, 23 Oct 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/test/CodeGenCXX/flexible-array-init.cpp

  Log Message:
  -----------
  [clang codegen] avoid to crash when emit init func for global variable with flexible array init (#113336)

Fixes: #113187
Avoid to create init function since clang does not support global
variable with flexible array init.
It will cause assertion failure later.



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