[PATCH] D96033: [clang-repl] Land initial infrastructure for incremental parsing

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 18 10:56:03 PDT 2021


phosek added a comment.

In D96033#2766372 <https://reviews.llvm.org/D96033#2766372>, @v.g.vassilev wrote:

> In D96033#2766332 <https://reviews.llvm.org/D96033#2766332>, @phosek wrote:
>
>> We've started seeing `LLVM ERROR: out of memory` on our 2-stage LTO Linux builders after this change landed. It looks like linking `clang-repl` always fails on our bot, but I've also seen OOM when linking `ClangCodeGenTests` and `FrontendTests`. Do you have any idea why this could be happening? We'd appreciate any help since our bots have been broken for several days now.
>
> Ouch. Are the bot logs public? If not maybe a stacktrace could be useful. `clang-repl` combines a lot of libraries across llvm and clang that usually are compiled separately. For instance we put in memory most of the clang frontend, the backend and the JIT. Could it be we are hitting some real limit?

Yes, they are, see https://luci-milo.appspot.com/p/fuchsia/builders/prod/clang-linux-x64, but there isn't much information in there unfortunately. It's possible that we're hitting some limit, but these bots use 32-core instances with 128GB RAM which I'd hope is enough even for the LTO build.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96033/new/

https://reviews.llvm.org/D96033



More information about the cfe-commits mailing list