Skip to content

Change the setup so that rust_activate_glue returns to rust_exit_task_glu #348

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

Closed
wants to merge 2 commits into from
Closed

Conversation

espindola
Copy link

Change the setup so that rust_activate_glue returns to rust_exit_task_glue
and rust_exit_task_glue calls the rust main.

This is simpler since we only need to setup one frame. It also matches
what ld.so does, so gdb is happy and stops a backtrace at rust_exit_task_glue
instead of continuing past whatever function happened to be before
rust_exit_task_glue is the object file.

cixtor added 2 commits May 4, 2011 14:25
…_glue

and rust_exit_task_glue calls the rust main.

This is simpler since we only need to setup one frame. It also matches
what ld.so does, so gdb is happy and stops a backtrace at rust_exit_task_glue
instead of continuing past whatever function happened to be before
rust_exit_task_glue is the object file.
@graydon
Copy link
Contributor

graydon commented May 9, 2011

Integrated, thanks.

@graydon graydon closed this May 9, 2011
oli-obk added a commit to oli-obk/rust that referenced this pull request Sep 29, 2017
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this pull request Dec 12, 2017
bors pushed a commit to rust-lang-ci/rust that referenced this pull request Oct 26, 2020
workingjubilee pushed a commit to workingjubilee/rustc that referenced this pull request Jul 7, 2023
Fix build error on big endian arm/aarch64
antoyo added a commit to antoyo/rust that referenced this pull request Oct 26, 2023
carolynzech pushed a commit to carolynzech/rust that referenced this pull request Jun 13, 2025
This enables autoharness to generate an additional 4067 harnesses (and
successfully prove 363 of them).

Using a patch instead of directly modifying the source code here for
`library/stdarch` is a git submodule. Modifying the source code directly
would require forking that other repository, tweaking our submodule
pointer, and thereby causing additional challenges for our fork update
automation.

The long-term solution should be automated derive-arbitrary support in
autoharness.

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 and MIT licenses.
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