[all-commits] [llvm/llvm-project] f6af5e: [SystemZ][z/OS] vasprintf fix libc++

muiez via All-commits all-commits at lists.llvm.org
Thu Mar 18 12:01:31 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f6af5efcec4171080c036ad55a2b4db9fc5c37fa
      https://github.com/llvm/llvm-project/commit/f6af5efcec4171080c036ad55a2b4db9fc5c37fa
  Author: Muiez Ahmed <muiez at ibm.com>
  Date:   2021-03-18 (Thu, 18 Mar 2021)

  Changed paths:
    M libcxx/include/__support/ibm/xlocale.h
    M libcxx/src/support/win32/support.cpp

  Log Message:
  -----------
  [SystemZ][z/OS] vasprintf fix libc++

The aim is to use the correct vasprintf implementation for z/OS libc++, where a copy of va_list ap is needed. In particular, it avoids the potential that the initial internal call to vsnprintf will modify ap and the subsequent call to vsnprintf will use that modified ap.

Differential Revision: https://reviews.llvm.org/D97473




More information about the All-commits mailing list