Skip to content

rustdoc is not built with debuginfo, even if debuginfo=true #44810

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

Closed
QuietMisdreavus opened this issue Sep 24, 2017 · 0 comments
Closed

rustdoc is not built with debuginfo, even if debuginfo=true #44810

QuietMisdreavus opened this issue Sep 24, 2017 · 0 comments
Labels
C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Comments

@QuietMisdreavus
Copy link
Member

QuietMisdreavus commented Sep 24, 2017

While investigating #44613, i found that even though i set debuginfo = true in my config.toml, the symbols that came out would not include any source information for librustdoc. Backtraces for panics didn't have useful method names unless i turned off optimizations. Attempts to debug rustdoc in Visual Studio would just have a blind spot for any source information within librustdoc itself. Profiles would show mangled names for any librustdoc methods.

EDIT: I should note, a rustdoc-tool-binary-(hash).pdb was created, and Visual Studio dutifully found it and loaded it, but it still had all the problems noted above.

@QuietMisdreavus QuietMisdreavus added the T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) label Sep 24, 2017
@TimNN TimNN added the C-bug Category: This is a bug. label Sep 26, 2017
bors added a commit that referenced this issue Sep 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

No branches or pull requests

2 participants