[all-commits] [llvm/llvm-project] c978f0: [clang] Fix segmentation fault caused by stack ove...

Boaz Brickner via All-commits all-commits at lists.llvm.org
Mon Oct 14 05:07:11 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c978f0f7ac33a5085053da7189201babd366c82d
      https://github.com/llvm/llvm-project/commit/c978f0f7ac33a5085053da7189201babd366c82d
  Author: Boaz Brickner <brickner at google.com>
  Date:   2024-10-14 (Mon, 14 Oct 2024)

  Changed paths:
    M clang/lib/CodeGen/CGExpr.cpp
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/CodeGen/CodeGenModule.h

  Log Message:
  -----------
  [clang] Fix segmentation fault caused by stack overflow on deeply nested expressions (#111701)

Done by calling clang::runWithSufficientStackSpace().
Added CodeGenModule::runWithSufficientStackSpace() method similar to the
one in Sema to provide a single warning when this triggers
Fixes: #111699



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