Skip to content

[cpullvm] Generalize clang xfail generation to work with other llvm projects#188

Draft
jonathonpenix wants to merge 1 commit intoqualcomm:qualcomm-softwarefrom
jonathonpenix:llvm_xfail
Draft

[cpullvm] Generalize clang xfail generation to work with other llvm projects#188
jonathonpenix wants to merge 1 commit intoqualcomm:qualcomm-softwarefrom
jonathonpenix:llvm_xfail

Conversation

@jonathonpenix
Copy link
Copy Markdown
Contributor

@jonathonpenix jonathonpenix commented Feb 21, 2026

This lets us handle other projects in LLVM (lldb is the main motivating force
here) similar to what we can do for clang.

Not all projects have an equivalent to CLANG_TEST_EXTRA_ARGS though so we use
LLVM_LIT_ARGS instead to pass in the xfails list. But, we need to set
LLVM_LIT_ARGS before we add LLVM as a subproject, so we can't just rely on the
defaults like we do now. (See ex: how our compiler-rt xfails work.) I don't
think this is a huge deal, but maybe it'll cause some surprises.

…rojects

This lets us handle other projects in LLVM (lldb is the main motivating force
here) similar to what we can do for clang.

Not all projects have an equivalent to CLANG_TEST_EXTRA_ARGS though so we use
LLVM_LIT_ARGS instead to pass in the xfails list. But, we need to set
LLVM_LIT_ARGS before we add LLVM as a subproject, so we can't just rely on the
defaults like we do now. (See ex: how our compiler-rt xfails work.) I don't
think this is a huge deal, but maybe it'll cause some surprises.

Signed-off-by: Jonathon Penix <jpenix@qti.qualcomm.com>
@jonathonpenix jonathonpenix marked this pull request as ready for review February 23, 2026 19:23
@jonathonpenix jonathonpenix marked this pull request as draft February 23, 2026 19:30
@jonathonpenix
Copy link
Copy Markdown
Contributor Author

Sorry, never mind this actually--we probably want something like this eventually, but this requires more work to decide how to mark dependencies between the xfails files and arbitrary check- targets since with this, all check- need these files.

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.

1 participant