apple / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. This fork is used to manage Apple’s stable releases of Clang as well as support the Swift project.
https://llvm.org
Other
1.1k stars 320 forks source link

next: [Test] lldb: Updated consume operator breakpoints. #8851

Closed nate-chandler closed 4 weeks ago

nate-chandler commented 4 weeks ago

Use the same breakpoints for lets as for vars. Now that value lifetimes in the face of consume are fixed to behave just like address lifetimes (rather than not actually ending at consumes), the breakpoint locations used to inspect a let x must occur before the consume x just as is the case for var x.

Paired with https://github.com/apple/swift/pull/74109 .

rdar://113142446 (cherry picked from commit 2cd0c0f64c7f40c2e852d1607049a1b99c78cfb4)