We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1009be commit 0cf3cc9Copy full SHA for 0cf3cc9
lldb/source/Symbol/SwiftASTContext.cpp
@@ -3231,6 +3231,10 @@ class SwiftDWARFImporterDelegate : public swift::DWARFImporterDelegate {
3231
void lookupValue(StringRef name, llvm::Optional<swift::ClangTypeKind> kind,
3232
StringRef inModule,
3233
llvm::SmallVectorImpl<clang::Decl *> &results) override {
3234
+ // We will not find any Swift types in the Clang compile units.
3235
+ if (SwiftLanguageRuntime::IsSwiftMangledName(name.str().c_str()))
3236
+ return;
3237
+
3238
auto clang_importer = m_swift_ast_ctx.GetClangImporter();
3239
if (!clang_importer)
3240
return;
0 commit comments