Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix seqfault in emission of NVPTX due to missing DIsubprogram #582

Merged
merged 2 commits into from
Jan 31, 2023

Conversation

vchuravy
Copy link
Member

Fixes #576

@wsmoses now the only question is: Why is CI passing.

@wsmoses wsmoses self-requested a review January 31, 2023 02:37
Copy link
Member

@wsmoses wsmoses left a comment

Choose a reason for hiding this comment

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

LGTM. I remember commenting this out earlier actually to fix a prior debug info issue (presumably the since fixed GPUCompiler one?)

@vchuravy
Copy link
Member Author

So nested_codegen is breaking this:

                        cf = nested_codegen!(mod, add_one_in_place, Tuple{Any})
                        push!(function_attributes(cf), EnumAttribute("alwaysinline", 0; ctx))
                        permit_inlining!(cf)

@vchuravy
Copy link
Member Author

I suspect it is due to the call not having a !dbg info.

@vchuravy vchuravy merged commit 800144b into main Jan 31, 2023
@vchuravy vchuravy deleted the vc/cuda_di branch January 31, 2023 19:12
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.

CUDA LLVM Debug Info Segfault
2 participants