[all-commits] [llvm/llvm-project] 7db91b: [libc] Fix pthread_create_test for 32 bit systems ...

Mikhail R. Gadelha via All-commits all-commits at lists.llvm.org
Fri Sep 22 07:10:20 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7db91b4abe4123ea0efc1175d1afdc4d04fe5839
  Author: Mikhail R. Gadelha <mikhail at igalia.com>
  Date:   2023-09-22 (Fri, 22 Sep 2023)

  Changed paths:
    M libc/test/integration/src/pthread/pthread_create_test.cpp

  Log Message:
  [libc] Fix pthread_create_test for 32 bit systems (#66564)

The test tries to set the guard_size and stack_size of a thread to
SIZE_MAX / 4, which is a huge value in 64-bit systems but 1GB in 32-bit

We increase the size to 3 * (SIZE_MAX / 4) so it can also fail in 32-bit 

More information about the All-commits mailing list