Skip to content

Conversation

@devajithvs
Copy link
Contributor

This Pull request:

Attempts to get ROOT building with minimal clang patches. This helps us reorder patches in-order of priority, from patches that are critical for ROOT to build and patches that are nice to have.

A lot of tests are expected to fail.

Changes or fixes:

Checklist:

  • tested changes locally
  • updated the docs (if necessary)

This PR fixes #

@devajithvs devajithvs self-assigned this Nov 27, 2025
@github-actions
Copy link

github-actions bot commented Nov 27, 2025

Test Results

    12 files      12 suites   7d 3h 46m 2s ⏱️
 3 756 tests  3 575 ✅  19 💤   162 ❌
39 814 runs  37 944 ✅ 230 💤 1 640 ❌

For more details on these failures, see this check.

Results for commit ecd7f51.

♻️ This comment has been updated with latest results.

@devajithvs devajithvs force-pushed the testing-llvm-patches branch 2 times, most recently from 955bd38 to 127c343 Compare January 22, 2026 15:35
@devajithvs devajithvs force-pushed the testing-llvm-patches branch from 127c343 to 637661d Compare February 3, 2026 15:22
Axel-Naumann and others added 3 commits February 3, 2026 17:08
ORIGINAL COMMIT:
Also store Parser paren numbers; likely fixes ROOT-6976:

The parser (or rather the BalancedDelimiterTracker) was doing a Parser::cutOffParsing() because
of an overflow of open ( - because we never reset the count.
Reverts part of upstream LLVM commit
llvm/llvm-project@84df7a0

The newer logic triggers an assertion when building ROOT.
@devajithvs devajithvs force-pushed the testing-llvm-patches branch from 637661d to cea662d Compare February 3, 2026 16:42
Right now the ExternalASTSources in LLVM have an awkward way
of implementing their generation counters, which provide an
incrementing UID for versioning the AST when it is changed
lazily by the ExternalASTSource (for example when more decls
are).

The current implementation is based on having an counter in
each ExternalASTSource, but each ExternalASTSource actually
only refers to the top most ExternalASTSource of the current
ASTContext, which means that the counter suddenly resets
when we add any kind of new ExternalASTSource (and we have
no way to work around this). Also, some ExternalASTSources
like the ASTReader make assumptions that they are the top
most ExternalASTSource which means that as soon as we
overwrite the ASTReader, we suddenly have two counters
running providing conflicting information to anyone
querying the counters.

This patch merges all these counters into one counter
which is in the ASTContext. This should get rid of
any more counter desyncronization problems when we
attach our own external sources or when parts of the
code make invalid assumptions about which external
source is currently the top most one in the ASTContext.

Patch is upstreamed via LLVM phabricator review D39714.
@devajithvs devajithvs force-pushed the testing-llvm-patches branch from cea662d to e6230f5 Compare February 4, 2026 10:10
@devajithvs devajithvs force-pushed the testing-llvm-patches branch from e6230f5 to bbfbd3e Compare February 4, 2026 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants