Skip to content

Support precise debug module tracking - #1898

Merged
adincebic merged 4 commits into
mainfrom
adin/support-precise-module-tracking
Sep 25, 2026
Merged

adincebic merged 4 commits into
mainfrom
adin/support-precise-module-tracking

Conversation

@adincebic

@adincebic adincebic commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

This adds the support for newly introduced Swift precise debug module tracking.
The compiler stores the .swiftmodule path in each object file’s debug information, so LLDB knows which module file to load.
This replaces the previous linker-based handling (-add_ast_path) if toolchain supports it and Swift explicit modules are enabled.

@adincebic
adincebic force-pushed the adin/support-precise-module-tracking branch from ef77f1d to f8d55ed Compare September 12, 2026 13:12
Comment thread doc/explicit_modules.md Outdated
Comment thread swift/toolchains/config/compile_config.bzl Outdated
Comment thread README.md Outdated
Comment thread swift/internal/feature_names.bzl Outdated
Comment thread doc/explicit_modules.md Outdated
Comment thread doc/explicit_modules.md Outdated
Comment thread swift/toolchains/config/compile_config.bzl Outdated
Comment thread swift/internal/linking.bzl Outdated
Comment thread swift/internal/linking.bzl Outdated
Comment thread swift/swift_binary.bzl Outdated
Comment thread swift/swift_binary.bzl Outdated
@adincebic
adincebic force-pushed the adin/support-precise-module-tracking branch 2 times, most recently from 3ed005d to f994ed3 Compare September 16, 2026 05:06
@adincebic
adincebic force-pushed the adin/support-precise-module-tracking branch from f994ed3 to bc9dca8 Compare September 25, 2026 04:48
@adincebic
adincebic merged commit 1d78bfc into main Sep 25, 2026
16 checks passed
@adincebic
adincebic deleted the adin/support-precise-module-tracking branch September 25, 2026 06:23
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.

3 participants