-
Notifications
You must be signed in to change notification settings - Fork 342
[lldb] Add Foundation._NSSwiftTimeZone support #7657
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
[lldb] Add Foundation._NSSwiftTimeZone support #7657
Conversation
@swift-ci test |
ConstString("timeZone"), | ||
ConstString("_timeZone"), | ||
ConstString("some"), | ||
ConstString("identifier"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This almost looks like some leftover debugging code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not debugging code. That's the variable path that contains the time zone's name (effectively timeZone._timeZone.identifier
).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh right .some
is the enumerator for Optional!
"some identifier" just sounded like a placeholder :-)
`_NSSwiftTimeZone` is the new Swift implementation of `NSTimeZone`. (cherry picked from commit 666003e)
8e6b4a0
to
11ecea5
Compare
@swift-ci test |
Can you cherry-pick this to 5.9 and 5.10? |
@swift-ci test windows |
Cherry pick the two missing commits from #7074.