-
Notifications
You must be signed in to change notification settings - Fork 37
Regression from 0.2.0, symbol can't be demangled #73
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
Labels
Comments
Thanks for the bug report! |
Fixed in 0.2.6 |
jieyouxu
added a commit
to jieyouxu/rust
that referenced
this issue
Feb 7, 2025
This test exercises the `backtrace` submodule included under the `library/` tree, which should be the `backtrace` that is used and thus transitively shipped with the standard library. The `cpp_smoke_test` was disabled in the `backtrace` repo many years ago. This is seemingly because the test failed years ago due to C++ symbol demangling troubles in `cpp_demangle` (which are now fixed; see <gimli-rs/cpp_demangle#73>). Co-authored-by: Pyrode <[email protected]>
jieyouxu
added a commit
to jieyouxu/rust
that referenced
this issue
Feb 7, 2025
This test exercises the `backtrace` submodule included under the `library/` tree, which should be the `backtrace` that is used and thus transitively shipped with the standard library. The `cpp_smoke_test` was disabled in the `backtrace` repo many years ago. This is seemingly because the test failed years ago due to C++ symbol demangling troubles in `cpp_demangle` (which are now fixed; see <gimli-rs/cpp_demangle#73>). Note that this test is disabled on Windows MSVC because I couldn't get it to work locally: - At MSVC `-O1`, the test fails because there are no backtrace symbols. - At MSVC `-O0`, the test fails because both the C++ templated trampolined symbol has a different signature (w/ a `__cdecl`) and also `cpp_trampoline` is missing. Co-authored-by: Pyrode <[email protected]>
jieyouxu
added a commit
to jieyouxu/rust
that referenced
this issue
Feb 7, 2025
This test exercises the `backtrace` submodule included under the `library/` tree, which should be the `backtrace` that is used and thus transitively shipped with the standard library. The `cpp_smoke_test` was disabled in the `backtrace` repo many years ago. This is seemingly because the test failed years ago due to C++ symbol demangling troubles in `cpp_demangle` (which are now fixed; see <gimli-rs/cpp_demangle#73>). Note that this test is disabled on Windows MSVC because I couldn't get it to work locally: - At MSVC `-O1`, the test fails because there are no backtrace symbols. - At MSVC `-O0`, the test fails because both the C++ templated trampolined symbol has a different signature (w/ a `__cdecl`) and also `cpp_trampoline` is missing. Co-authored-by: Pyrode <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Discovered through the test suite of backtrace-rs it looks like the symbol
_ZN5space20templated_trampolineIPFvvEEEvT_
is no longer demangled asvoid space::templated_trampoline<void (*)()>(void (*)())
I believe?The text was updated successfully, but these errors were encountered: