Skip to content

Commit 91076bb

Browse files
authored
Merge pull request #33404 from nkcsgexi/abi-checker-allow-io
abi-checker: allow ABI checker to deserialize @_implementationOnly modules on demand
2 parents a4bea90 + a8255f2 commit 91076bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/swift-api-digester/swift-api-digester.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2548,6 +2548,8 @@ static int prepareForDump(const char *Main,
25482548
InitInvok.getLangOptions().Target.isOSDarwin();
25492549
InitInvok.getClangImporterOptions().ModuleCachePath =
25502550
options::ModuleCachePath;
2551+
// Module recovery issue shouldn't bring down the tool.
2552+
InitInvok.getLangOptions().AllowDeserializingImplementationOnly = true;
25512553

25522554
if (!options::SwiftVersion.empty()) {
25532555
using version::Version;

0 commit comments

Comments
 (0)