New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SR-8374] Swift 4.2 lldb po failures #4364
Comments
@swift-ci create |
Looking at this. |
Cannot reproduce on ToT on Mojave. (lldb) po a
hi
(lldb) frame var a
(NSTaggedPointerString) a = 0x8c712a44ee9f9df3 "hi"
(lldb) frame var b
(String) b = "hi"
(lldb) p a
(NSTaggedPointerString) $R2 = 0x8c712a44ee9f9df3 "hi"
(lldb) p b
(String) $R4 = "hi"
(lldb) frame var b
(String) b = "hi" Can you try updating your source? I think this might be a mismatch between lldb and swift, but I'm not sure. |
Just to make sure, this is where I'm at: locals-Mac-Pro:bin davide$ ./swiftc --version
Swift version 4.2-dev (LLVM a4d539e482, Clang 773ac0251a, Swift 31f2c75bb7)
locals-Mac-Pro:bin davide$ lldb
locals-Mac-Pro:bin davide$ ../../lldb-macosx-x86_64/bin/lldb --version
lldb version 6.0.0 (https://github.com/apple/swift-lldb.git revision 873a338b5d8b74ed504c5e02e52d6972fe9bc513)
Swift-4.2 (revision 31f2c75bb7928042bce90195b6473dbfe0188387)
clang revision 773ac0251a7ea94c0b58d96353d4210a7eb2aeef
llvm revision a4d539e482ca76290f3db6b775203ae230b34d42 (swift -> master branch / lldb -> stable branch) |
Sorry I must have built / tested with different versions, I didn't think that was the case, but I can't reproduce anymore with Xcode 10b4's Swift and lldb |
Also tried within Xcode beta 4 and I get the same. |
yay. Thanks. |
Sorry about that! |
Environment
Xcode 10 beta 4
Additional Detail from JIRA
md5: 1666c5c21076e977fc2aa5be2cb95d0f
Issue Description:
If you compile this code with Xcode 10b4 with:
In lldb if you run:
You get these errors:
The text was updated successfully, but these errors were encountered: