[all-commits] [llvm/llvm-project] f94608: Define llvm::thread::DefaultStackSize to 4 megabyt...

Wael Yehia via All-commits all-commits at lists.llvm.org
Wed Jul 19 11:58:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f94608a164896e7108de2a8647285cc7d429f17b
      https://github.com/llvm/llvm-project/commit/f94608a164896e7108de2a8647285cc7d429f17b
  Author: Wael Yehia <wyehia at ca.ibm.com>
  Date:   2023-07-19 (Wed, 19 Jul 2023)

  Changed paths:
    M llvm/lib/Support/Threading.cpp

  Log Message:
  -----------
  Define llvm::thread::DefaultStackSize to 4 megabytes on AIX

Link time thinLTO spawns pthreads to parallelize optimization and
codegen of the input bitcode files. On AIX, the default pthread
stack size limit is ~192k for 64-bit programs; insufficient for a
normal LLVM compilation.

Reviewed By: ZarkoCA, MaskRay

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




More information about the All-commits mailing list