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

Execute backtrace once before testing formatting #38886

Merged
merged 1 commit into from
Dec 17, 2020
Merged

Conversation

vchuravy
Copy link
Sponsor Member

@vchuravy vchuravy commented Dec 15, 2020

Fixes #38858

On some platforms (PowerPC) the call to the jlplt is not a tail-call
and so it will be part of the backtrace. This means we are off-by-one
and won't skip the Julia function backtrace messing up tests that
check precise formatting.

On some platforms (PowerPC) the call to the `jlplt` is not a tail-call
and so it will be part of the backtrace. This means we are off-by-one
and won't skip the Julia function `backtrace` messing up tests that
check precise formatting.
@vchuravy vchuravy added backport 1.6 Change should be backported to release-1.6 system:powerpc PowerPC labels Dec 15, 2020
@Keno
Copy link
Member

Keno commented Dec 16, 2020

On some platforms (PowerPC) the call to the jlplt is not a tail-call
and so it will be part of the backtrace.

Is tailcall still broken on PPC? If so maybe ask the LLVM PPC team to look into it?

@vchuravy
Copy link
Sponsor Member Author

Yeah turning on musttail caused LLVM to complain. I will raise it with IBM.

@KristofferC KristofferC mentioned this pull request Dec 17, 2020
53 tasks
@KristofferC KristofferC merged commit fc577d0 into master Dec 17, 2020
@KristofferC KristofferC deleted the vc/backtrace_ppc branch December 17, 2020 11:38
@KristofferC
Copy link
Sponsor Member

Perhaps the issue should be left open, this doesn't really fix the core of the problem I guess.

KristofferC pushed a commit that referenced this pull request Dec 17, 2020
On some platforms (PowerPC) the call to the `jlplt` is not a tail-call
and so it will be part of the backtrace. This means we are off-by-one
and won't skip the Julia function `backtrace` messing up tests that
check precise formatting.

(cherry picked from commit fc577d0)
@KristofferC KristofferC removed the backport 1.6 Change should be backported to release-1.6 label Dec 19, 2020
staticfloat pushed a commit that referenced this pull request Jan 15, 2021
On some platforms (PowerPC) the call to the `jlplt` is not a tail-call
and so it will be part of the backtrace. This means we are off-by-one
and won't skip the Julia function `backtrace` messing up tests that
check precise formatting.

(cherry picked from commit fc577d0)
ElOceanografo pushed a commit to ElOceanografo/julia that referenced this pull request May 4, 2021
On some platforms (PowerPC) the call to the `jlplt` is not a tail-call
and so it will be part of the backtrace. This means we are off-by-one
and won't skip the Julia function `backtrace` messing up tests that
check precise formatting.
staticfloat pushed a commit that referenced this pull request Dec 23, 2022
On some platforms (PowerPC) the call to the `jlplt` is not a tail-call
and so it will be part of the backtrace. This means we are off-by-one
and won't skip the Julia function `backtrace` messing up tests that
check precise formatting.

(cherry picked from commit fc577d0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Power] First execution of backtrace() includes itself in trace
3 participants