Skip to content

tests/debuginfo/macro-stepping.rs remains broken with SingleUseConsts #130896

Open

Description

@khuey

This is the part of @saethlin's #128945 that survived #130329. Reordering the IR in the front end in the SingleUseConsts pass breaks the stepping order. This could be mitigated to some extent (but not completely, unclear if it would be sufficient for this test to pass) with better support in LLVM for front ends to express which IR instructions should be considered for breakpoints.

@rustbot label +A-debuginfo +A-testsuite +A-llvm +A-mir +C-bug +T-compiler +WG-debugging +WG-llvm

Activity

  1. added
    needs-triage
    A-debuginfo
    A-LLVM
    A-MIR
    A-testsuite
    C-bug
    T-compiler
    WG-debugging
    WG-llvm
    on Sep 26, 2024
  2. removed
    needs-triage
    on Sep 26, 2024
  3. RalfJung commented on Oct 30, 2025

    @RalfJung
    Member

    FWIW the test still refers to the old issue -- that should probably be updated.

  4. added 3 commits that reference this issue on Jan 21, 2026
  5. added a commit that references this issue on Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMA-MIRA-debuginfoA-testsuiteC-bugT-compilerWG-debuggingWG-llvm

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions