Open swift-ci opened 3 years ago
@swift-ci create
Could you clarify what exactly is crashing? You said "reproducible crash when compiling this piece of code" – but the title says "LLDB crash". Can you attach a stack trace?
Yeah, this compiles fine. Can you attach a crash log and/or more instructions?
Environment
xcode 12.5.0Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 0 | |Component/s | Compiler, LLDB for Swift | |Labels | Bug | |Assignee | @adrian-prantl | |Priority | Medium | md5: 1411048b52a88fb0a49aecc05e14bcc1Issue Description:
100 % reproducible crash when compiling this piece of code. Please note that if MyClass is a struct, it doesnt crash. Same if we change "if let entry = entry" to "if let anything = entry"
class MyClass {
{ self.value = value }
}
func test() {
{ return }
}
public class ThreadSafeMap\<T: Hashable, U: AnyObject> {
{ self.cacheAccessQueue = DispatchQueue(label: label, qos: .userInitiated, attributes: .concurrent) }
{ return map[key] }
}