From 931d73a76254907c6b4dc90be615e745d2359b4a Mon Sep 17 00:00:00 2001 From: Michael Chiu Date: Mon, 10 Nov 2025 15:09:12 -0800 Subject: [PATCH] normalize vendor name when vendor is unknown --- lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp b/lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp index 74bbd0c9ec58c..76b74b78821b8 100644 --- a/lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp +++ b/lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp @@ -3037,7 +3037,7 @@ lldb::TypeSystemSP SwiftASTContext::CreateInstance( { llvm::raw_svector_ostream os(buffer); os << preferred_triple.getArchName() << '-'; - os << preferred_triple.getVendorName() << '-'; + os << llvm::Triple::getVendorTypeName(preferred_triple.getVendor()) << '-'; os << llvm::Triple::getOSTypeName(preferred_triple.getOS()); os << platform_version.getAsString(); }