Skip to content

Add missing add_eval to generate __rdl_oom in the alloc error handler#676

Merged
antoyo merged 1 commit into
rust-lang:masterfrom
GuillaumeGomez:rdl_room
May 16, 2025
Merged

Add missing add_eval to generate __rdl_oom in the alloc error handler#676
antoyo merged 1 commit into
rust-lang:masterfrom
GuillaumeGomez:rdl_room

Conversation

@GuillaumeGomez
Copy link
Copy Markdown
Member

@GuillaumeGomez GuillaumeGomez commented May 16, 2025

Fixes #674.

With this change we now have:

000000000000505f <_RNvCsee83jQymicr_7___rustc26___rust_alloc_error_handler>:
    505f:       55                      push   %rbp
    5060:       48 89 e5                mov    %rsp,%rbp
    5063:       48 83 ec 10             sub    $0x10,%rsp
    5067:       48 89 7d f8             mov    %rdi,-0x8(%rbp)
    506b:       48 89 75 f0             mov    %rsi,-0x10(%rbp)
    506f:       48 8b 55 f0             mov    -0x10(%rbp),%rdx
    5073:       48 8b 45 f8             mov    -0x8(%rbp),%rax
    5077:       48 89 d6                mov    %rdx,%rsi
    507a:       48 89 c7                mov    %rax,%rdi
    507d:       e8 58 09 00 00          call   59da <_RNvCsee83jQymicr_7___rustc9___rdl_oom>
    5082:       c9                      leave
    5083:       c3                      ret

@antoyo antoyo merged commit 7cc33be into rust-lang:master May 16, 2025
37 checks passed
@antoyo
Copy link
Copy Markdown
Contributor

antoyo commented May 16, 2025

Thanks for your contribution!

@GuillaumeGomez GuillaumeGomez deleted the rdl_room branch May 16, 2025 14:19
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.

__rust_alloc_error_handler is empty

2 participants