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.
2 parents d6bbf63 + 0cf3cc9 commit 4eeb7e3Copy full SHA for 4eeb7e3
lldb/source/Symbol/SwiftASTContext.cpp
@@ -3285,6 +3285,10 @@ class SwiftDWARFImporterDelegate : public swift::DWARFImporterDelegate {
3285
void lookupValue(StringRef name, llvm::Optional<swift::ClangTypeKind> kind,
3286
StringRef inModule,
3287
llvm::SmallVectorImpl<clang::Decl *> &results) override {
3288
+ // We will not find any Swift types in the Clang compile units.
3289
+ if (SwiftLanguageRuntime::IsSwiftMangledName(name.str().c_str()))
3290
+ return;
3291
+
3292
auto clang_importer = m_swift_ast_ctx.GetClangImporter();
3293
if (!clang_importer)
3294
return;
0 commit comments