Skip to content

Commit c301cdb

Browse files
authored
Merge pull request #6092 from xymus/lldb-disable-safety-next
[next][lldb] Disable deserialization safety for lldb
2 parents dcaa775 + 2d63077 commit c301cdb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -943,6 +943,10 @@ SwiftASTContext::SwiftASTContext(std::string description,
943943
// for the protocol conforming types.
944944
lang_opts.AllowModuleWithCompilerErrors = true;
945945
lang_opts.EnableTargetOSChecking = false;
946+
947+
// Bypass deserialization safety to allow deserializing internal details from
948+
// swiftmodule files.
949+
lang_opts.EnableDeserializationSafety = false;
946950
}
947951

948952
SwiftASTContext::~SwiftASTContext() {

0 commit comments

Comments
 (0)