-
Notifications
You must be signed in to change notification settings - Fork 344
Various warning and compilation fixes for stable/20211026 #3541
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
Conversation
The index added `SymbolSubKind::UsingEnum`. Add this to the indexstore as well. Resolves rdar://84229820
Fix up merge of 5a3556a.
a3939e1 changed `PluginInterface::GetPluginName` to return a `StringRef` instead of a `ConstString`.
c020be1 changes `FindFunctions` to take a `ModuleFunctionSearchOptions` instead. There's some Swift additions that also need to be changed to use this argument instead.
14735ca renamed `eOpenOptionWrite` to `eOpenOptionWriteOnly`. Rename reference in Swift additions.
41d0b20 renamed `WillPop` to `DidPop`. Rename the override in `ThreadPlanStepInAsync`.
1457b7d introduced `GetDemangledFunctionNameWithoutArguments` for `SwiftLanguage` but had a mismatched parenthesis. Remove it.
1457b7d implemented `GetDemangledFunctionNameWithoutArguments` for `SwiftLanguage`, but it contained a few errors.
14f4430 changed `StringPrinter::SetData` to take a rvalue to prevent needless copies.
c1055f0 now passes in a valid `lldb_private::AddressRange` rather than implementations needing to query for it.
3d7161e changed `GetGlobalProperties` from returning a `std::shared_ptr` to a reference.
@JDevlieghere feel free to check everything, but the last few commits would be good to look at:
|
@swift-ci please test |
3116987 moved the switch in `ValueObjectVariable::UpdateValue` to `ValueObject::UpdateChildrenAddressType`. 31c4cc7 then reverted this change. e337350 looks to have re-applied it but moved `ValueObject::UpdateChildrenAddressType` down into `ValueObjectVariable::UpdateChildrenAddressType` and 6b16a52 enabled calling it again. Neither of these remove the old switch in `ValueObjectVariable::UpdateValue` though. Remove the duplicate switch.
swift f458d9b added checking for the dependencies of any module compiled with `-enable-ossa-modules` to also be compiled with `-enable-ossa-modules`.
9a57d1e added a `dump(llvm::raw_ostream)` to `TypeSsystem`. Implement in `TypeSystemSwift.
52874b1
to
a54c6c1
Compare
Adding @adrian-prantl for the Swift-related changes in LLDB. |
Perfect.
@jimingham can you please double check? @adrian-prantl can you please double check? |
I'm going to merge this to get the bots actually building. |
On Nov 16, 2021, at 9:09 AM, Jonas Devlieghere ***@***.***> wrote:
@JDevlieghere feel free to check everything, but the last few commits would be good to look at:
• 22c9a68: I just added -DLLDB_USE_STATIC_BINDINGS:BOOL=OFF and then ran copy-static-bindings.py, is there anything else to do there? Seems to pass locally with -DLLDB_USE_STATIC_BINDINGS:BOOL=ON now.
Perfect.
• a0d730e: not 100% sure what happened here, but this looks like left over code (had a warning for missing Invalid)
@jimingham can you please double check?
That code got moved to ValueObjectVariable::DoUpdateChildrenAddressType, and shouldn't be in ValueObjectVariable::UpdateValue. If you expand the file in the patch you referred to, this code is properly in the DoUpdate method. So everything is right once yp remove the redundant copy.
This looks right to me.
Jim
…
• 89eca2e: is passing false for requiresOSSAModules in the call to validateSerializedAST correct?
• 52874b1: what do we actually want to dump here? I've just left an empty dump in TypeSystemSwift for now, but I assume we'll actually want to dump something in its subclasses.
@adrian-prantl can you please double check?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Thanks for checking! Sorry, I should have been more clear in the comment itself - the commit message mentions the duplicate code + relevant commits. |
No description provided.