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

generate .eh_frame rather than .debug_frame on Linux #5264

Merged
merged 1 commit into from
Nov 14, 2015

Conversation

WalterBright
Copy link
Member

It appears that the .debug_frame section is obsolete, and things are moving to .eh_frame instead. This implements .eh_frame for Linux 32 and 64 bit. .eh_frame is also a necessary step towards implementing dwarf exception handling.

@@ -70,6 +70,12 @@ static char __file__[] = __FILE__; // for tassert.h

#define OFFSET_FAC REGSIZE

#if TARGET_LINUX
Copy link
Member

Choose a reason for hiding this comment

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

GAAAAAAAAA!

@andralex
Copy link
Member

guess it's worth one more pass to push down the int n definitions

@andralex
Copy link
Member

thanks!

andralex added a commit that referenced this pull request Nov 14, 2015
generate .eh_frame rather than .debug_frame on Linux
@andralex andralex merged commit ccadd00 into dlang:master Nov 14, 2015
@MartinNowak
Copy link
Member

This PR introduced a regression Issue 15392 – dmd object files fail to link with ld.gold.

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