- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 270
druntime: Fix rt.backtrace.dwarf #2677
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
Conversation
| The existing code only reads the executable's  With additional   | 
| I finally figured how to get the base address of the DSO executable (parsing  | 
| Upstream PR: dlang/druntime#2151 | 
| I'd like to merge this for 1.10, as a temporary solution for the backtrace issue with relocatable executables (e.g., on Ubuntu 18.04), as the upstream fix may not make it into 2.080. Seb has come up with an alternate solution without  Backtrace generation on ARM etc. may also be improved by the alignment fixes. | 
| I just made a test program  void f()
{
    assert(0);
}
void g()
{
    f();
}
unittest
{
    g();
}compiled and run as which prints which means that I can now see my backtraces again. Wonderful! One thing though...what's with the rows starting with  | 
| 
 
 | 
backtrace()) => probably fixes https://issues.dlang.org/show_bug.cgi?id=18068.Testing here how
codegen/exception_stack_trace.dlooks like with Ubuntu 14.04; should go upstream when finished.