[all-commits] [llvm/llvm-project] 830a74: [Clang] [Cygwin] va_list must be treated like norm...

Tomohiro Kashiwada via All-commits all-commits at lists.llvm.org
Tue Jun 10 13:42:57 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 830a74092adafa425db05e1c5120d3294f874777
      https://github.com/llvm/llvm-project/commit/830a74092adafa425db05e1c5120d3294f874777
  Author: Tomohiro Kashiwada <kikairoya at gmail.com>
  Date:   2025-06-10 (Tue, 10 Jun 2025)

  Changed paths:
    M clang/lib/Basic/Targets/X86.h
    A clang/test/CodeGen/X86/cygwin-varargs.c

  Log Message:
  -----------
  [Clang] [Cygwin] va_list must be treated like normal Windows (#143115)

Handling of va_list on Cygwin environment must be matched to normal
Windows environment.

The existing test `test/CodeGen/ms_abi.c` seems relevant, but it
contains `__attribute__((sysv_abi))`, which is not supported on Cygwin.
The new test is based on the `__attribute__((ms_abi))` portion of that
test.

---------

Co-authored-by: jeremyd2019 <github at jdrake.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