Skip to content

ICEs + RUST_BACKTRACE=1 should interleave the backtrace and query stack. #70954

Open
@eddyb

Description

@eddyb

The interleaving can be done by looking for frames with a certain function path (that we need to make sure show up w/o debuginfo, so that this is useful on nightlies).

Downside: harder to see the aggregate query stack in one place (unless we duplicate it).
Upside: easier to find where a query was invoked from.

cc @Zoxc

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-backtraceArea: BacktracesA-diagnosticsArea: Messages for errors, warnings, and lintsA-query-systemArea: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html)C-enhancementCategory: An issue proposing an enhancement or a PR with one.D-diagnostic-infraDiagnostics: Issues that affect all diagnostics, or relate to the diagnostic machinery itself.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions