[llvm][clang] Enable IO sandbox for assert builds#171935
Merged
jansvoboda11 merged 1 commit intollvm:mainfrom Dec 16, 2025
Merged
[llvm][clang] Enable IO sandbox for assert builds#171935jansvoboda11 merged 1 commit intollvm:mainfrom
jansvoboda11 merged 1 commit intollvm:mainfrom
Conversation
benlangmuir
approved these changes
Dec 12, 2025
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/141/builds/13734 Here is the relevant piece of the build log for the reference |
ajperel
pushed a commit
to chromium/chromium
that referenced
this pull request
Dec 17, 2025
The flag was recently [1] enabled by default in asserts builds, breaking some of our plugin tests (see bug). Turn it off until those are fixed. [1] llvm/llvm-project#171935 Bug: 469485810 Change-Id: I1adc410a3fad0f7b93f4488338ae29fd2782c5e4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7269105 Reviewed-by: Nico Weber <thakis@chromium.org> Auto-Submit: Hans Wennborg <hans@chromium.org> Commit-Queue: Nico Weber <thakis@chromium.org> Cr-Commit-Position: refs/heads/main@{#1559863}
Member
|
I am seeing a violation with |
Contributor
Author
|
Thanks for reporting this @nathanchance. I'll take a look today. |
jansvoboda11
added a commit
that referenced
this pull request
Dec 19, 2025
This reverts commit f83de97.
jansvoboda11
added a commit
that referenced
this pull request
Dec 19, 2025
Reverts #171935. The sandbox infrastructure was (incorrectly) only implemented for `clang -cc1` jobs created by the driver in #165350. Direct `clang -cc1` invocations had the sandbox disabled. This reduced the coverage of our test suite and lead to sandbox violations for people using asserts-enabled Clang. This PR temporarily disables the sandbox for asserts builds, so that we have time to investigate and fix sandbox violations for direct `clang -cc1` commands and re-enable for asserts builds at a later time.
llvm-sync bot
pushed a commit
to arm/arm-toolchain
that referenced
this pull request
Dec 19, 2025
… (#173074) Reverts llvm/llvm-project#171935. The sandbox infrastructure was (incorrectly) only implemented for `clang -cc1` jobs created by the driver in llvm/llvm-project#165350. Direct `clang -cc1` invocations had the sandbox disabled. This reduced the coverage of our test suite and lead to sandbox violations for people using asserts-enabled Clang. This PR temporarily disables the sandbox for asserts builds, so that we have time to investigate and fix sandbox violations for direct `clang -cc1` commands and re-enable for asserts builds at a later time.
mahesh-attarde
pushed a commit
to mahesh-attarde/llvm-project
that referenced
this pull request
Dec 19, 2025
This PR enables the IO sandbox for supported tools (currently `clang -cc1` and `clang -cc1as`) in assert builds. More details are in the RFC here: https://discourse.llvm.org/t/rfc-file-system-sandboxing-in-clang-llvm/88791
valadaptive
pushed a commit
to valadaptive/llvm-project
that referenced
this pull request
Dec 24, 2025
This PR enables the IO sandbox for supported tools (currently `clang -cc1` and `clang -cc1as`) in assert builds. More details are in the RFC here: https://discourse.llvm.org/t/rfc-file-system-sandboxing-in-clang-llvm/88791
valadaptive
pushed a commit
to valadaptive/llvm-project
that referenced
this pull request
Dec 24, 2025
Reverts llvm#171935. The sandbox infrastructure was (incorrectly) only implemented for `clang -cc1` jobs created by the driver in llvm#165350. Direct `clang -cc1` invocations had the sandbox disabled. This reduced the coverage of our test suite and lead to sandbox violations for people using asserts-enabled Clang. This PR temporarily disables the sandbox for asserts builds, so that we have time to investigate and fix sandbox violations for direct `clang -cc1` commands and re-enable for asserts builds at a later time.
mahesh-attarde
pushed a commit
to mahesh-attarde/llvm-project
that referenced
this pull request
Jan 6, 2026
Reverts llvm#171935. The sandbox infrastructure was (incorrectly) only implemented for `clang -cc1` jobs created by the driver in llvm#165350. Direct `clang -cc1` invocations had the sandbox disabled. This reduced the coverage of our test suite and lead to sandbox violations for people using asserts-enabled Clang. This PR temporarily disables the sandbox for asserts builds, so that we have time to investigate and fix sandbox violations for direct `clang -cc1` commands and re-enable for asserts builds at a later time.
navaneethshan
pushed a commit
to qualcomm/cpullvm-toolchain
that referenced
this pull request
Jan 9, 2026
Reverts llvm/llvm-project#171935. The sandbox infrastructure was (incorrectly) only implemented for `clang -cc1` jobs created by the driver in llvm/llvm-project#165350. Direct `clang -cc1` invocations had the sandbox disabled. This reduced the coverage of our test suite and lead to sandbox violations for people using asserts-enabled Clang. This PR temporarily disables the sandbox for asserts builds, so that we have time to investigate and fix sandbox violations for direct `clang -cc1` commands and re-enable for asserts builds at a later time. (cherry picked from commit 56c0173)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR enables the IO sandbox for supported tools (currently
clang -cc1andclang -cc1as) in assert builds. More details are in the RFC here: https://discourse.llvm.org/t/rfc-file-system-sandboxing-in-clang-llvm/88791