-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.Performance or correctness regression from one stable version to another.
Description
LLDB on Windows is unable to resolve breakpoint to any actual locations since nightly 2022-01-28 build which is working fine with the previous nightly.
Code
I tried this code:
fn main() {
let mut i = 9;
i -= 3;
assert_eq!(i, 6);
println!("{i}");
}
I expected to see this happen:
(lldb) target create "D:\\rusty\\target\\debug\\rusty.exe"
Current executable set to 'D:\rusty\target\debug\rusty.exe' (x86_64).
(lldb) b -f main.rs -l 3
Breakpoint 1: where = rusty.exe`static void rusty::main() + 15 at main.rs:3, address = 0x000000014000100f
(lldb)
Instead, this happened:
(lldb) target create "D:\\rusty\\target\\debug\\rusty.exe"
Current executable set to 'D:\rusty\target\debug\rusty.exe' (x86_64).
(lldb) b -f main.rs -l 3
Breakpoint 1: no locations (pending).
WARNING: Unable to resolve breakpoint to any actual locations.
(lldb)
Version it worked on
It most recently worked on: Rust nightly-2022-01-27
rustc --version --verbose
:
rustc 1.60.0-nightly (6abb6385b 2022-01-26)
binary: rustc
commit-hash: 6abb6385b2cb7249f67b9b3ce7522527767dd907
commit-date: 2022-01-26
host: x86_64-pc-windows-msvc
release: 1.60.0-nightly
LLVM version: 13.0.0
Version with regression
It regressed on: Rust nightly-2022-01-28
rustc --version --verbose
:
rustc 1.60.0-nightly (21b4a9cfd 2022-01-27)
binary: rustc
commit-hash: 21b4a9cfdcbb1e76f4b36b5c3cfd64d627285093
commit-date: 2022-01-27
host: x86_64-pc-windows-msvc
release: 1.60.0-nightly
LLVM version: 13.0.0
Backtrace
Not applicable.
Regressed between two nightlies (2022-01-27
and 2022-01-28
) after Rust 1.58.1
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.Performance or correctness regression from one stable version to another.