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.

@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

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.
@cachemeifyoucan cachemeifyoucan force-pushed the eng/casify-module-stable branch from 3376bcd to dfaabea Compare November 4, 2025 23:12
@cachemeifyoucan
Copy link
Author

Please test with following PR:
swiftlang/swift#83621

@swift-ci please test

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 cachemeifyoucan force-pushed the eng/casify-module-stable branch from dfaabea to caaf170 Compare November 5, 2025 00:50
@cachemeifyoucan
Copy link
Author

Please test with following PR:
swiftlang/swift#83621

@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