Skip to content

Conversation

@RalfJung
Copy link
Member

@RalfJung RalfJung commented Dec 1, 2025

Those #locN markers look like they are debuginfo compiletest magic (since #break is debuginfo compiletest magic). However, they are actually just magic strings used by the check commands in the test itself. This threw me off when I looked at the test (prompted by a CI failure), so let's leave a comment for the next poor soul that ends up lost in this test.

Also, for some reason the lldb instructions do not check for #loc6, unlike the gdb instructions. I do not know of an lldb version that actually makes the test pass (do we even run it with lldb at all on CI?), so I won't try to add a check for loc6, but let's at least add a comment to increase the chance that someone more knowledgeable about lldb and our test suite notices this in the future.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Dec 1, 2025
@rustbot
Copy link
Collaborator

rustbot commented Dec 1, 2025

r? @Mark-Simulacrum

rustbot has assigned @Mark-Simulacrum.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Copy link
Member

@jieyouxu jieyouxu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jieyouxu
Copy link
Member

jieyouxu commented Dec 2, 2025

do we even run it with lldb at all on CI?

I want to say we do, but only in aarch64-apple...

@jieyouxu
Copy link
Member

jieyouxu commented Dec 2, 2025

r? me @bors r+ rollup

@bors
Copy link
Collaborator

bors commented Dec 2, 2025

📌 Commit 18af84b has been approved by jieyouxu

It is now in the queue for this repository.

@rustbot rustbot assigned jieyouxu and unassigned Mark-Simulacrum Dec 2, 2025
@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 2, 2025
bors added a commit that referenced this pull request Dec 2, 2025
Rollup of 8 pull requests

Successful merges:

 - #145628 ([std][BTree] Fix behavior of `::append` to match documentation, `::insert`, and `::extend`)
 - #149241 (Fix armv4t- and armv5te- bare metal targets)
 - #149470 (compiletest: Prepare ignore/only conditions once in advance, without a macro)
 - #149507 (Mark windows-gnu* as lacking build with assertions)
 - #149508 (Prefer helper functions to identify MinGW targets)
 - #149516 (Stop adding MSYS2 to PATH)
 - #149525 (debuginfo/macro-stepping test: extend comments)
 - #149526 (Add myself (mati865) to the review rotation)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit cd6c17e into rust-lang:main Dec 2, 2025
11 checks passed
@rustbot rustbot added this to the 1.93.0 milestone Dec 2, 2025
rust-timer added a commit that referenced this pull request Dec 2, 2025
Rollup merge of #149525 - RalfJung:debuginfo-test-comments, r=jieyouxu

debuginfo/macro-stepping test: extend comments

Those `#locN` markers look like they are debuginfo compiletest magic (since `#break` is debuginfo compiletest magic). However, they are actually just magic strings used by the `check` commands in the test itself. This threw me off when I looked at the test (prompted by a CI failure), so let's leave a comment for the next poor soul that ends up lost in this test.

Also, for some reason the lldb instructions do not check for `#loc6`, unlike the gdb instructions. I do not know of an lldb version that actually makes the test pass (do we even run it with lldb at all on CI?), so I won't try to add a check for loc6, but let's at least add a comment to increase the chance that someone more knowledgeable about lldb and our test suite notices this in the future.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants