Skip to content

[cpullvm] xfail libunwind test dwarf_expression_stack.pass.cpp - #661

Open
Jonathon Penix (jonathonpenix) wants to merge 2 commits into
qualcomm:qualcomm-softwarefrom
jonathonpenix:pr/dwarf_exp
Open

[cpullvm] xfail libunwind test dwarf_expression_stack.pass.cpp#661
Jonathon Penix (jonathonpenix) wants to merge 2 commits into
qualcomm:qualcomm-softwarefrom
jonathonpenix:pr/dwarf_exp

Conversation

@jonathonpenix

Copy link
Copy Markdown
Contributor

This explicitly uses fork() and waitpid() which I don't think are supported by picolibc for our embedded targets. So just xfail the test.

Right now this only impacts our AArch64 variants, but just xfail it for everything since all of our Arm/AArch64/RISC-V variants would have the same issue.

This explicitly uses fork() and waitpid() which I don't think are supported
by picolibc for our embedded targets. So just xfail the test.

Right now this only impacts our AArch64 variants, but just xfail it for
everything since all of our Arm/AArch64/RISC-V variants would have the same
issue.

Signed-off-by: Jonathon Penix <jpenix@qti.qualcomm.com>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm okay with this, but we should open a bug upstream. (It looks like this test was added in llvm/llvm-project#220662 ?)

@jonathonpenix

Jonathon Penix (jonathonpenix) commented Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

I'm not opposed to filing something upstream, but I guess what are we hoping to get at with the bug? Are we looking for a better way to keep these sorts of tests (that use fork(), etc.) isolated so we don't have to xfail them? Or something else?

As far as I can tell there's nothing really going wrong here, it's just that we're running the test in an environment where fork() etc. isn't (will probably never be?) supported.

Signed-off-by: Jonathon Penix <jpenix@qti.qualcomm.com>
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