[all-commits] [llvm/llvm-project] 230b87: [clangd] Increase stack size of the new threads on...

Sam McCall via All-commits all-commits at lists.llvm.org
Wed Jun 10 05:08:37 PDT 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 230b872c290d8c80a60accb06f3267e0703d0c49
      https://github.com/llvm/llvm-project/commit/230b872c290d8c80a60accb06f3267e0703d0c49
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2020-06-10 (Wed, 10 Jun 2020)

  Changed paths:
    M clang-tools-extra/clangd/Threading.cpp
    M clang-tools-extra/clangd/unittests/ClangdTests.cpp

  Log Message:
  -----------
  [clangd] Increase stack size of the new threads on macOS

Summary: By default it's 512K, which is way to small for clang parser to run on. There is no way to do it via platform-independent API, so it's implemented via pthreads directly in clangd/Threading.cpp.

Fixes https://github.com/clangd/clangd/issues/273

Patch by Dmitry Kozhevnikov!

Reviewers: ilya-biryukov, sammccall, arphaman

Reviewed By: ilya-biryukov, sammccall, arphaman

Subscribers: dexonsmith, umanwizard, jfb, ioeric, MaskRay, jkorous, arphaman, kadircet, cfe-commits

Tags: #clang

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

(cherry picked from commit 69a39dc1f0d08ea43bac03a87bb8bff3937ce2e7)




More information about the All-commits mailing list