Skip to content

Conversation

@cachemeifyoucan
Copy link

gmodule support by switching splitDwarf references to CASIDs of the module/PCH.

Also teach dsymutil to support reading from CAS as a prototype for lldb support.

Teach clang to encode CASID as splitDwarfFilename for gmodule when
clang caching is enabled. This allows the outputs from compiler do not
contain paths to the clang module files, thus allows distributed caching
without the need of a unified clang module cache directory path.
Teach dsymutil how to use CAS and how to load clang modules from CAS
when building dSYM when gmodule is used.
Teach lldb to load clang modules when gmodule + clang caching is used.
Teach SwiftASTContext to load clang module dependencies from CAS instead
of FileSystem.
@cachemeifyoucan
Copy link
Author

Please test with:
swiftlang/swift#83621

@swift-ci please test

@cachemeifyoucan
Copy link
Author

Please test with following PR:
swiftlang/swift#83621

@swift-ci please test

@cachemeifyoucan
Copy link
Author

Please test with following PR:
swiftlang/swift#83621
swiftlang/swift-driver#2005

@swift-ci please test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant