[all-commits] [llvm/llvm-project] 6eb353: [libunwind] include alloca.h in test/aarch64_za_un...

Shreeyash Pandey via All-commits all-commits at lists.llvm.org
Wed Jul 8 00:04:21 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6eb35326147077a18f6fc56540059d779d7e3d4b
      https://github.com/llvm/llvm-project/commit/6eb35326147077a18f6fc56540059d779d7e3d4b
  Author: Shreeyash Pandey <shrpand at qti.qualcomm.com>
  Date:   2026-07-08 (Wed, 08 Jul 2026)

  Changed paths:
    M libunwind/test/aarch64_za_unwind.pass.cpp

  Log Message:
  -----------
  [libunwind] include alloca.h in test/aarch64_za_unwind.pass.cpp (#207376)

Glibc provides the alloca function as a part of stdlib.h when
_GNU_SOURCE is declared (which is the case with standard linux builds).
[1]

On non-glibc systems, this may not be the case (for example, picolibc).
These libraries may not implicitly include alloca.h as a part of the
standard lib.

[1]
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/stdlib/stdlib.h#L728

Signed-off-by: Shreeyash Pandey <shrpand at qti.qualcomm.com>



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