Uh oh!
There was an error while loading. Please reload this page.
Print inlined functions on Windows - #47252
Conversation
There was a problem hiding this comment.
Did these leak in by accident? I think tidy failed to compile due to these maybe?
There was a problem hiding this comment.
I forgot to commit my code...
alexcrichton
commented
Jan 8, 2018
Can this test also be updated? |
alexcrichton
commented
Jan 8, 2018
Was it possible to update the relevant test to avoid the special-casing of msvc? |
Zoxc
commented
Jan 8, 2018
It looks like location information disappeared from x86-32. I'll have to look into that. |
kennytm
commented
Jan 17, 2018
Hi @Zoxc! Have you checked the issue of 32-bit x86? |
Zoxc
commented
Jan 17, 2018
I checked that similar code does work for C++. There might be some issue with either the FFI or debug information Rust generates. I'll try to use the C++ code to generate a stack trace for Rust code. |
I used a pointer instead of a |
e059019 to
5253babCompareZoxc
commented
Jan 25, 2018
This is now ready to be merged. The backtrace test still doesn't pass because the debug information we emit is not entirely correct. |
alexcrichton
commented
Jan 25, 2018
@bors: r+ Ok, thanks for investigating! |
bors
commented
Jan 25, 2018
📌 Commit 5253bab has been approved by |
bors
commented
Jan 25, 2018
Print inlined functions on Windows Split from #45637 r? @alexcrichton
bors
commented
Jan 25, 2018
💔 Test failed - status-travis |
Just a missing field. |
Zoxc
commented
Jan 26, 2018
@bors r=alexcrichton |
bors
commented
Jan 26, 2018
📌 Commit 634f8cc has been approved by |
bors
commented
Jan 26, 2018
Print inlined functions on Windows Split from #45637 r? @alexcrichton
bors
commented
Jan 26, 2018
💔 Test failed - status-appveyor |
alexcrichton
commented
Jan 26, 2018
Gonna merge anyway since all tests passed and it's just the appveyor timeout. |
PR #47252 switched stack inspection functions of dbghelp.dll to their newer alternatives that also capture inlined context. Unfortunately, said new alternatives are not present in older dbghelp.dll versions. In particular Windows 7 at the time of writing has dbghelp.dll version 6.1.7601 from 2010, that lacks StackWalkEx and friends. Fixes#50138
Split from #45637
r? @alexcrichton