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 and test LLVM IR for issue #36422 #36435

Merged
merged 1 commit into from
Jun 29, 2020

Conversation

iamed2
Copy link
Contributor

@iamed2 iamed2 commented Jun 25, 2020

Fix #36422 using @vtjnash's diff

Should get backported

@KristofferC KristofferC added backport 1.5 kind:bugfix This change fixes an existing bug labels Jun 25, 2020

@testset "#36422" begin
str_36422 = "using InteractiveUtils; code_llvm(Base.ht_keyindex, (Dict{NTuple{65,Int64},Nothing}, NTuple{65,Int64}))"
@test success(`$(Base.julia_cmd()) --startup-file=no -e $str_36422`)
Copy link
Sponsor Member

Choose a reason for hiding this comment

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

Why is this in a new process? So it doesn't segfault the worker if it fails?

Copy link
Member

Choose a reason for hiding this comment

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

We do have many tests that will just segfault the worker if they "fail", so I think it would be fine without the external process, but I don't care much either way.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, that's why. I saw this method used above, so I thought it would be desired. If I should change it I certainly can.

@JeffBezanson JeffBezanson merged commit 7622bae into JuliaLang:master Jun 29, 2020
@iamed2 iamed2 deleted the ed/fix-ir-36422 branch June 29, 2020 21:12
@KristofferC KristofferC mentioned this pull request Jul 8, 2020
13 tasks
KristofferC pushed a commit that referenced this pull request Jul 8, 2020
simeonschaub pushed a commit to simeonschaub/julia that referenced this pull request Aug 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bugfix This change fixes an existing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Segfault in compilation with large tuple
4 participants