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

Sam McCall via All-commits all-commits at lists.llvm.org
Tue Feb 4 06:21:34 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 69a39dc1f0d08ea43bac03a87bb8bff3937ce2e7
      https://github.com/llvm/llvm-project/commit/69a39dc1f0d08ea43bac03a87bb8bff3937ce2e7
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2020-02-04 (Tue, 04 Feb 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




More information about the All-commits mailing list